Adds UpgradeRule for AttackTesla -> AttackCharge.

This commit is contained in:
reaperrr
2014-03-07 14:28:49 +01:00
parent c1954f498b
commit 2293453b8f

View File

@@ -106,6 +106,19 @@ namespace OpenRA.Utility
}
}
// AttackTesla was replaced with AttackCharge
if (engineVersion < 20140307)
{
if (depth == 1 && parentKey == "World")
{
if (node.Key == "AttackTesla")
node.Key = "AttackCharge";
if (node.Key == "-AttackTesla")
node.Key = "-AttackCharge";
}
}
// AttackMove was generalized to support all moveable actor types
if (engineVersion < 20140116)
{