mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-07-09 02:16:55 +00:00
Metadata code cleanup
This commit is contained in:
@@ -494,7 +494,7 @@ namespace SabreTools.Metadata.DatFiles
|
||||
}
|
||||
|
||||
// If the parent doesn't already contain this item, add to subfolder of parent
|
||||
else if (!GetItemsForBucketDB(cloneOf).Values.Contains(item.Value) || skipDedup)
|
||||
else if (!GetItemsForBucketDB(cloneOf).ContainsValue(item.Value) || skipDedup)
|
||||
{
|
||||
if (subfolder)
|
||||
rom.SetName($"{machineName}\\{rom.GetName()}");
|
||||
@@ -505,7 +505,7 @@ namespace SabreTools.Metadata.DatFiles
|
||||
}
|
||||
|
||||
// All other that would be missing to subfolder of parent
|
||||
else if (!GetItemsForBucketDB(cloneOf).Values.Contains(item.Value))
|
||||
else if (!GetItemsForBucketDB(cloneOf).ContainsValue(item.Value))
|
||||
{
|
||||
if (subfolder)
|
||||
item.Value.SetName($"{machineName}\\{item.Value.GetName()}");
|
||||
|
||||
Reference in New Issue
Block a user