Fix remove flag issues

This commit is contained in:
Matt Nadareski
2024-03-11 14:31:02 -04:00
parent 4db6d14ffb
commit 5188e8f3e0
13 changed files with 51 additions and 52 deletions

View File

@@ -143,7 +143,7 @@ namespace SabreTools.DatTools
{
// Unmatched items will have a source ID of int.MaxValue, remove all others
if (items[i].GetFieldValue<Source?>(DatItem.SourceKey)?.Index != int.MaxValue)
items[i].SetFieldValue<bool>(DatItem.RemoveKey, true);
items[i].SetFieldValue<bool?>(DatItem.RemoveKey, true);
}
// Set the list back, just in case