diff --git a/OpenRA.Utility/UpgradeRules.cs b/OpenRA.Utility/UpgradeRules.cs index 4dbc29fae2..0c8930ddd4 100644 --- a/OpenRA.Utility/UpgradeRules.cs +++ b/OpenRA.Utility/UpgradeRules.cs @@ -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) {