Remove unused field

This commit is contained in:
Matt Nadareski
2020-08-20 13:27:54 -07:00
parent 2da51628a4
commit a33d88aab3
2 changed files with 1 additions and 7 deletions

View File

@@ -983,7 +983,7 @@ namespace SabreTools.Library.DatFiles
OneRomPerGame();
// If we are removing fields, do that now
if (filter.RemoveFields)
if (Header.ExcludeFields != null && Header.ExcludeFields.Any())
RemoveFieldsFromItems();
// We remove any blanks, if we aren't supposed to have any