Upgrade rule for ROF > ReloadDelay renaming.

This commit is contained in:
reaperrr
2014-08-18 21:01:18 +02:00
parent d6ef37a750
commit f588b07f56

View File

@@ -732,6 +732,15 @@ namespace OpenRA.Utility
}
}
if (engineVersion < 20140818)
{
if (depth == 1)
{
if (node.Key == "ROF")
node.Key = "ReloadDelay";
}
}
UpgradeWeaponRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}