Get methods should return all info

This commit is contained in:
Matt Nadareski
2026-04-16 15:55:12 -04:00
parent 2a2a2a46f9
commit ff69b83e05
4 changed files with 33 additions and 21 deletions

View File

@@ -595,7 +595,7 @@ namespace SabreTools.Metadata.DatFiles
// Clone current machine to avoid conflict
long newMachineIndex = AddMachineDB((Machine)machine.Value.Clone());
machine = new KeyValuePair<long, Machine?>(newMachineIndex, ItemsDB.GetMachine(newMachineIndex));
machine = GetMachineDB(newMachineIndex);
if (machine.Value is null)
return;