Skip to content

Commit 06b74d9

Browse files
committed
fix wrong asset issued for crc collision
1 parent 81e8cca commit 06b74d9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ModVerify/Verifiers/Commons/SingleModelVerifier.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ private void VerifyModelClass(ModelClass modelClass, IReadOnlyCollection<string>
236236
if (!CheckBinaryCorruptedFileIsActuallyRenderable(alaFileName, out var actualFilePath))
237237
{
238238
var message =
239-
$"Possible file CRC32 collision: '{fileName}' was requested but '{actualFilePath}' was found by the engine.";
239+
$"Possible file CRC32 collision: '{alaFileName}' was requested but '{actualFilePath}' was found by the engine.";
240240
AddError(VerificationError.Create(
241241
this,
242242
VerifierErrorCodes.UnexpectedFileLoad,
@@ -246,7 +246,7 @@ private void VerifyModelClass(ModelClass modelClass, IReadOnlyCollection<string>
246246
// there are simply more chances for a CRC32 collision.
247247
VerificationSeverity.Information,
248248
contextInfo,
249-
NormalizeFileName(fileName)));
249+
NormalizeFileName(alaFileName)));
250250
}
251251
else
252252
{

0 commit comments

Comments
 (0)