diff --git a/src/TSMapEditor/Constants.cs b/src/TSMapEditor/Constants.cs index 0b301675..5dc4bc37 100644 --- a/src/TSMapEditor/Constants.cs +++ b/src/TSMapEditor/Constants.cs @@ -5,7 +5,7 @@ namespace TSMapEditor { public static class Constants { - public const string ReleaseVersion = "1.3.7"; + public const string ReleaseVersion = "1.3.8"; public static int CellSizeX = 48; public static int CellSizeY = 24; diff --git a/src/TSMapEditor/Models/Structure.cs b/src/TSMapEditor/Models/Structure.cs index a35315d8..40864463 100644 --- a/src/TSMapEditor/Models/Structure.cs +++ b/src/TSMapEditor/Models/Structure.cs @@ -321,6 +321,8 @@ public override Structure Clone() { var clone = MemberwiseClone() as Structure; + clone.Upgrades = Upgrades.ToArray(); + clone.Anims = Anims.Select(anim => anim.Clone() as Animation).ToArray(); foreach (var anim in clone.Anims) anim.ParentBuilding = clone;