Explicitly clear items dictionary in Stats

This commit is contained in:
Matt Nadareski
2020-12-23 10:49:07 -08:00
parent d66c92403e
commit a3db6f463b

View File

@@ -129,6 +129,9 @@ namespace SabreTools.DatTools
totalStats.AddStatistics(datdata.Items);
totalStats.GameCount += datdata.Items.Keys.Count();
// Clear out the item dictionary so it doesn't linger
datdata.Items.Clear();
// Make sure to assign the new directory
lastdir = thisdir;
}