Fix issues found during testing

This commit is contained in:
Matt Nadareski
2023-08-15 01:38:01 -04:00
parent 3d99cf828f
commit ede4487cf0
56 changed files with 203 additions and 116 deletions

View File

@@ -80,6 +80,8 @@ namespace SabreTools.DatItems.Formats
public ConfSetting()
{
_internal = new Models.Internal.ConfSetting();
Machine = new Machine();
Name = string.Empty;
ItemType = ItemType.ConfSetting;
}
@@ -96,7 +98,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,