Skip to content

Commit

Permalink
Fix NullReferenceException when not selecting file list
Browse files Browse the repository at this point in the history
  • Loading branch information
TheIndra55 committed Oct 16, 2022
1 parent bf3b66f commit 8939472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Yura/Archive/TigerArchive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public override void Open()
}

// load file list
FileList.Load(version < 5 ? HashingAlgorithm.Crc32 : HashingAlgorithm.Fnv1a);
FileList?.Load(version < 5 ? HashingAlgorithm.Crc32 : HashingAlgorithm.Fnv1a);

var numArchives = reader.ReadUInt32();
var numRecords = reader.ReadUInt32();
Expand Down

0 comments on commit 8939472

Please sign in to comment.