Create #9435 DisableMovementOnUpgrade, rename DisableUpgrade to DisableOnUpgrade and Fixed not showing the blocked move cursor when movement is disabled.

This commit is contained in:
Nolt
2015-09-25 12:59:31 -03:00
committed by ABrandau
parent 0e9257abcf
commit 7994d08702
7 changed files with 48 additions and 9 deletions

View File

@@ -2724,6 +2724,12 @@ namespace OpenRA.Mods.Common.UtilityCommands
node.Value.Value = RenameD2kActors(node.Value.Value);
}
if (engineVersion < 20150925)
{
if (node.Key == "DisableUpgrade")
node.Key = "DisableOnUpgrade";
}
UpgradeActors(engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}