Remove 'ed' from WithTurretedAttackAnimation

Too confusing, as people might think it requires 'WithTurretedSpriteBody', also not entirely in line with our (admittedly implicit) render trait naming convention.
This commit is contained in:
reaperrr
2017-07-11 06:20:52 +02:00
committed by Paul Chote
parent c0b8bb3fcf
commit c611b5aeeb
3 changed files with 10 additions and 6 deletions

View File

@@ -984,6 +984,10 @@ namespace OpenRA.Mods.Common.UtilityCommands
}
}
if (engineVersion < 20170915)
if (node.Key.StartsWith("WithTurretedAttackAnimation", StringComparison.Ordinal))
RenameNodeKey(node, "WithTurretAttackAnimation");
UpgradeActorRules(modData, engineVersion, ref node.Value.Nodes, node, depth + 1);
}