rename for consistency

This commit is contained in:
Matthias Mailänder
2015-06-20 12:11:45 +02:00
parent 50e5e9df24
commit 0f8d22c9a6
7 changed files with 27 additions and 12 deletions

View File

@@ -1175,6 +1175,21 @@ namespace OpenRA.Mods.Common.UtilityCommands
Console.WriteLine("See RA and C&C bridge huts or crates for reference.");
}
if (engineVersion < 20150620)
{
if (depth == 2)
{
if (node.Key == "DeathSound")
node.Key = "Voice";
if (node.Key == "KillVoice")
node.Key = "Voice";
if (node.Key == "BuildVoice")
node.Key = "Voice";
}
}
UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}