Turrets now realign when not attacking.

This commit is contained in:
huwpascoe
2014-09-19 02:48:11 +01:00
parent 488d2d57e0
commit 3ece9ede42
4 changed files with 29 additions and 10 deletions

View File

@@ -645,6 +645,15 @@ namespace OpenRA.Mods.Common.UtilityCommands
}
}
if (engineVersion < 20141002)
{
if (node.Key == "AlignWhenIdle" && parentKey == "Turreted")
{
node.Key = "RealignDelay";
node.Value.Value = "0";
}
}
UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}