rename RallyPoint.RallyPoint to RallyPoint.Offset

This commit is contained in:
Matthias Mailänder
2015-08-05 23:31:29 +02:00
parent f11331a7cd
commit b536e677fb
8 changed files with 20 additions and 14 deletions

View File

@@ -1730,6 +1730,12 @@ namespace OpenRA.Mods.Common.UtilityCommands
node.Key = "SpawnActorOnDeath";
}
if (engineVersion < 20150810)
{
if (depth == 2 && parentKey == "RallyPoint" && node.Key == "RallyPoint")
node.Key = "Offset";
}
UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}