Revert to returning 1 until a better option is found

This commit is contained in:
Matt Nadareski
2025-01-08 10:15:42 -05:00
parent 52b3e4196f
commit bdfbb35160

View File

@@ -169,7 +169,7 @@ namespace SabreTools.DatItems
// If the names are equal
if (selfName == otherName)
return Equals(other) ? 0 : (other.ItemType - ItemType);
return Equals(other) ? 0 : 1;
// If `otherName` is null, Compare will return > 0
// If `selfName` is null, Compare will return < 0
@@ -566,7 +566,7 @@ namespace SabreTools.DatItems
// If the names are equal
if (selfName == otherName)
return Equals(other) ? 0 : (other.ItemType - ItemType);
return Equals(other) ? 0 : 1;
// If `otherName` is null, Compare will return > 0
// If `selfName` is null, Compare will return < 0