Merge pull request #9186 from LavenderMoon/bleed

Combine Shrapnel into Bullet
This commit is contained in:
Matthias Mailänder
2015-08-30 18:40:26 +02:00
6 changed files with 15 additions and 155 deletions

View File

@@ -2277,6 +2277,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);
}
}