mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix issues found during testing
This commit is contained in:
@@ -172,6 +172,8 @@ namespace SabreTools.DatItems.Formats
|
||||
public Control()
|
||||
{
|
||||
_internal = new Models.Internal.Control();
|
||||
Machine = new Machine();
|
||||
|
||||
ItemType = ItemType.Control;
|
||||
}
|
||||
|
||||
@@ -187,7 +189,7 @@ namespace SabreTools.DatItems.Formats
|
||||
ItemType = this.ItemType,
|
||||
DupeType = this.DupeType,
|
||||
|
||||
Machine = this.Machine?.Clone() as Machine,
|
||||
Machine = this.Machine.Clone() as Machine ?? new Machine(),
|
||||
Source = this.Source?.Clone() as Source,
|
||||
Remove = this.Remove,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user