mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Be slightly safer about position checking
This commit is contained in:
@@ -362,7 +362,7 @@ namespace SabreTools.DatItems
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If no duplicate is found, add it to the list
|
// If no duplicate is found, add it to the list
|
||||||
if (dupetype == 0x00)
|
if (dupetype == 0x00 || pos < 0)
|
||||||
{
|
{
|
||||||
outfiles.Add(item);
|
outfiles.Add(item);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user