Fix empty-not-null data

This commit is contained in:
Matt Nadareski
2022-12-31 11:39:35 -08:00
parent 8a61f01e1b
commit 3977342a67

View File

@@ -376,7 +376,7 @@ namespace BurnOutSharp.Wrappers
// Get the parent folder data
byte[] folderData = GetUncompressedData((int)file.FolderIndex);
if (folderData == null)
if (folderData == null || folderData.Length == 0)
return null;
// Get the segment that represents this file