Rename Waypoint -> Immobile and move it into Mods.RA.

This commit is contained in:
Paul Chote
2014-03-12 18:04:57 +13:00
parent daf106ddb3
commit 0a4423a9b8
8 changed files with 23 additions and 15 deletions

View File

@@ -143,6 +143,13 @@ namespace OpenRA.Utility
ConvertFloatToRange(ref node.Value.Value);
}
// Waypoint was renamed to Immobile
if (engineVersion < 20140312)
{
if (depth == 1 && node.Key == "Waypoint")
node.Key = "Immobile";
}
UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}