mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Increase readability of Machine access
This commit is contained in:
@@ -75,7 +75,7 @@ namespace SabreTools.DatFiles
|
||||
continue;
|
||||
|
||||
// Create a machine to hold everything
|
||||
var machine = items[0].GetFieldValue<DatItems.Machine>(DatItems.DatItem.MachineKey)!.GetInternalClone();
|
||||
var machine = items[0].GetMachine()!.GetInternalClone();
|
||||
|
||||
// Handle Trurip object, if it exists
|
||||
if (machine.ContainsKey(Models.Metadata.Machine.TruripKey))
|
||||
|
||||
Reference in New Issue
Block a user