Rename Bullet Angle to LaunchAngle

This commit is contained in:
reaperrr
2016-09-09 16:10:33 +02:00
parent 8ba9afdb16
commit 20cd2aa4ab
16 changed files with 38 additions and 31 deletions

View File

@@ -478,6 +478,13 @@ namespace OpenRA.Mods.Common.UtilityCommands
node.Key = "Duration";
}
// Rename Bullet Angle to LaunchAngle
if (engineVersion < 20161016)
{
if (node.Key == "Angle")
node.Key = "LaunchAngle";
}
UpgradeWeaponRules(modData, engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}