diff --git a/OpenRA.Mods.Cnc/UtilityCommands/ImportTSMapCommand.cs b/OpenRA.Mods.Cnc/UtilityCommands/ImportTSMapCommand.cs index f719453184..a0ac3090f2 100644 --- a/OpenRA.Mods.Cnc/UtilityCommands/ImportTSMapCommand.cs +++ b/OpenRA.Mods.Cnc/UtilityCommands/ImportTSMapCommand.cs @@ -527,11 +527,15 @@ namespace OpenRA.Mods.Cnc.UtilityCommands var ar = new ActorReference(name) { new LocationInit(cell), - new OwnerInit("Neutral"), - new HealthInit(100 * health / 256), - new FacingInit(facing), + new OwnerInit("Neutral") }; + if (health != 256) + ar.Add(new HealthInit(100 * health / 256)); + + if (facing != 96) + ar.Add(new FacingInit(facing)); + if (isDeployed) ar.Add(new DeployStateInit(DeployState.Deployed));