Fix UpgradeRules for upgrading mods targeting release-20131223.

This commit is contained in:
Paul Chote
2014-03-18 22:07:38 +13:00
parent 6392d62f2e
commit 5151161d78
2 changed files with 4 additions and 1 deletions

View File

@@ -109,7 +109,7 @@ namespace OpenRA.Utility
// AttackTesla was replaced with AttackCharge
if (engineVersion < 20140307)
{
if (depth == 1 && parentKey == "World")
if (depth == 1)
{
if (node.Key == "AttackTesla")
node.Key = "AttackCharge";