Be slightly safer about position checking

This commit is contained in:
Matt Nadareski
2025-01-06 12:36:49 -05:00
parent 9afca918a6
commit fb78b88346

View File

@@ -362,7 +362,7 @@ namespace SabreTools.DatItems
}
// If no duplicate is found, add it to the list
if (dupetype == 0x00)
if (dupetype == 0x00 || pos < 0)
{
outfiles.Add(item);
}