Slight resync of stats calc

This commit is contained in:
Matt Nadareski
2025-01-31 22:53:15 -05:00
parent fedeb9ed49
commit ebfe71d9c2

View File

@@ -722,7 +722,7 @@ namespace SabreTools.DatFiles
DatStatistics.ResetStatistics(); DatStatistics.ResetStatistics();
// If we have a blank Dat in any way, return // If we have a blank Dat in any way, return
if (_items == null) if (_items == null || _items.Count == 0)
return; return;
// Loop through and add // Loop through and add