Skip to content

Commit cd70f33

Browse files
committed
CRC guard uses correct file exists reassurance
1 parent b99fa39 commit cd70f33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ModVerify/Verifiers/Commons/SingleModelVerifier.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ private void VerifyShaderExists(IPetroglyphFileHolder model, string shader, IRea
439439
private bool CheckBinaryCorruptedFileIsActuallyRenderable(string fileName, out string actualFilePath)
440440
{
441441
var filePath = FileSystem.Path.Join(@"DATA\ART\MODELS", fileName);
442-
var exists = GameEngine.GameRepository.FileExists(filePath, false, out _, out actualFilePath!);
442+
var exists = GameEngine.GameRepository.ModelRepository.FileExists(filePath, false, out _, out actualFilePath!);
443443
Debug.Assert(exists);
444444

445445
var extension = FileSystem.Path.GetExtension(actualFilePath);

0 commit comments

Comments
 (0)