mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile, DatItem] Proper cloning of machines to avoid dupe issues
This commit is contained in:
@@ -2761,7 +2761,7 @@ namespace SabreTools.Library.Dats
|
||||
SHA512 = xtr.GetAttribute("sha512")?.ToLowerInvariant(),
|
||||
ItemStatus = its,
|
||||
|
||||
Machine = dir,
|
||||
Machine = (Machine)dir.Clone(),
|
||||
|
||||
SystemID = sysid,
|
||||
System = filename,
|
||||
@@ -2783,7 +2783,7 @@ namespace SabreTools.Library.Dats
|
||||
ItemStatus = its,
|
||||
Date = date,
|
||||
|
||||
Machine = dir,
|
||||
Machine = (Machine)dir.Clone(),
|
||||
|
||||
SystemID = sysid,
|
||||
System = filename,
|
||||
|
||||
Reference in New Issue
Block a user