Reduce duplicate calls

This commit is contained in:
Matt Nadareski
2025-05-12 00:28:51 -04:00
parent b2c4f29264
commit e8c32581b3

View File

@@ -276,7 +276,6 @@ namespace SabreTools.DatFiles
copyFrom = parentItems[0]; copyFrom = parentItems[0];
} }
items = GetItemsForBucket(bucket);
foreach (DatItem item in items) foreach (DatItem item in items)
{ {
// Special disk handling // Special disk handling
@@ -397,7 +396,6 @@ namespace SabreTools.DatFiles
if (cloneOfMachine.Value == null) if (cloneOfMachine.Value == null)
continue; continue;
items = GetItemsForBucketDB(bucket);
foreach (var item in items) foreach (var item in items)
{ {
// Get the source for the current item // Get the source for the current item