rename WithDockingOverlay to WithDockedOverlay

This commit is contained in:
Matthias Mailänder
2016-01-01 22:07:04 +01:00
parent 77b0bd6067
commit f3210755c0
5 changed files with 15 additions and 8 deletions

View File

@@ -2876,6 +2876,13 @@ namespace OpenRA.Mods.Common.UtilityCommands
}
}
// Rename WithDockingOverlay to WithDockedOverlay
if (engineVersion < 20160116)
{
if (node.Key.StartsWith("WithDockingOverlay"))
node.Key = "WithDockedOverlay" + node.Key.Substring(18);
}
UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}