Remove bitrotted WeaponInfo.Charges

There is no logic attached anymore (or never was).
This commit is contained in:
reaperrr
2016-01-24 12:58:39 +01:00
parent 6b008a1b71
commit 56ab3f43da
5 changed files with 5 additions and 8 deletions

View File

@@ -3427,6 +3427,11 @@ namespace OpenRA.Mods.Common.UtilityCommands
}
}
if (engineVersion < 20160124)
{
node.Value.Nodes.RemoveAll(x => x.Key == "Charges");
}
UpgradeWeaponRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}