Fix WithHarvesterOffset.LocalOffset name.

This commit is contained in:
Paul Chote
2017-05-07 12:41:37 +00:00
parent 74437ed56c
commit 5dcb840f9f
3 changed files with 7 additions and 3 deletions

View File

@@ -635,6 +635,10 @@ namespace OpenRA.Mods.Common.UtilityCommands
}
}
if (engineVersion < 20170507)
if (node.Key == "Offset" && parent.Key.StartsWith("WithHarvestOverlay", StringComparison.Ordinal))
RenameNodeKey(node, "LocalOffset");
UpgradeActorRules(modData, engineVersion, ref node.Value.Nodes, node, depth + 1);
}