Rename WithRotor to WithSpriteRotorOverlay

This commit is contained in:
reaperrr
2015-10-04 20:22:46 +02:00
parent 044e562457
commit b722aa6721
7 changed files with 30 additions and 21 deletions

View File

@@ -2189,6 +2189,15 @@ namespace OpenRA.Mods.Common.UtilityCommands
}
}
if (engineVersion < 20151004)
{
if (depth == 1 && node.Key == "WithRotor")
node.Key = "WithSpriteRotorOverlay";
if (depth == 1 && node.Key == "-WithRotor")
node.Key = "-WithSpriteRotorOverlay";
}
UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}