Fix stats recalculation issue

This commit is contained in:
Matt Nadareski
2020-08-29 23:14:43 -07:00
parent 04eabc83ac
commit 89f9ee0faf

View File

@@ -860,7 +860,7 @@ namespace SabreTools.Library.DatFiles
ResetStatistics(); ResetStatistics();
// If we have a blank Dat in any way, return // If we have a blank Dat in any way, return
if (this == null || TotalCount == 0) if (items == null)
return; return;
// Loop through and add // Loop through and add