[DatItem] Forgot to check these

This commit is contained in:
Matt Nadareski
2017-10-06 17:42:59 -07:00
parent 27134c2f8f
commit a401cbebf4
6 changed files with 24 additions and 18 deletions

View File

@@ -23,14 +23,12 @@ namespace SabreTools.Library.Dats
public new object Clone()
{
return new Sample()
Sample item = new Sample()
{
Name = this.Name,
Type = this.Type,
Dupe = this.Dupe,
Machine = (Machine)this.Machine.Clone(),
Supported = this.Supported,
Publisher = this.Publisher,
Infos = this.Infos,
@@ -45,6 +43,9 @@ namespace SabreTools.Library.Dats
SourceID = this.SourceID,
Source = this.Source,
};
item.CopyMachineInformation(this);
return item;
}
#endregion