Combine Shrapnel into Bullet

This commit is contained in:
Lavender Moon
2015-08-28 10:38:38 -04:00
parent 4649c03260
commit 81e5b7866b
6 changed files with 15 additions and 155 deletions

View File

@@ -2249,6 +2249,14 @@ namespace OpenRA.Mods.Common.UtilityCommands
}
}
if (engineVersion < 20150828)
{
if (depth == 2 && parentKey == "Projectile" && parent.Value.Value == "Bullet" && node.Key == "Sequence")
{
node.Key = "Sequences";
}
}
UpgradeWeaponRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}