Chronotank teleporation by holding SHIFT or ALT and issuing a move order

This commit is contained in:
Curtis Shmyr
2014-03-22 00:04:29 -06:00
parent 21544ce235
commit 6ced7b274c
10 changed files with 280 additions and 233 deletions

View File

@@ -222,6 +222,16 @@ namespace OpenRA.Utility
}
}
// ChronoshiftDeploy was replaced with PortableChrono
if (engineVersion < 20140321)
{
if (depth == 1 && node.Key == "ChronoshiftDeploy")
node.Key = "PortableChrono";
if (depth == 2 && parentKey == "PortableChrono" && node.Key == "JumpDistance")
node.Key = "MaxDistance";
}
UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}