remove BelowUnits

closes #3670
This commit is contained in:
Matthias Mailänder
2014-09-14 10:41:38 +02:00
parent 219151f41f
commit a3baee9d68
22 changed files with 353 additions and 92 deletions

View File

@@ -654,6 +654,16 @@ namespace OpenRA.Mods.Common.UtilityCommands
}
}
// Replaced BelowUnits with per sequence ZOffsets
if (engineVersion < 20141030)
{
if (depth == 0)
{
node.Value.Nodes.RemoveAll(n => n.Key == "BelowUnits");
node.Value.Nodes.RemoveAll(n => n.Key == "-BelowUnits");
}
}
UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
}
}