Complete ArmorModifier->DamageModifier rename
PR #6303 neglected to rename the "armor" upgrade to "damage" in all necessary places, as mentioned in https://github.com/OpenRA/OpenRA/pull/6303#issuecomment-53312209
This commit is contained in:
@@ -459,6 +459,8 @@ namespace OpenRA.Utility
|
||||
node.Value.Value = string.Join(", ", node.Value.Value.Split(',')
|
||||
.Select(s => ((int)(100 * 100 / float.Parse(s))).ToString()));
|
||||
}
|
||||
if (depth == 3 && parentKey == "Upgrades")
|
||||
node.Value.Value = node.Value.Value.Replace("armor", "damage");
|
||||
}
|
||||
|
||||
// RenderInfantryProne and RenderInfantryPanic was merged into RenderInfantry
|
||||
|
||||
Reference in New Issue
Block a user