Remove legacy A* visualisation.

This commit is contained in:
Paul Chote
2016-08-25 19:45:18 +01:00
parent b3c4ecd7c5
commit 32eb98c17d
13 changed files with 12 additions and 152 deletions

View File

@@ -338,6 +338,12 @@ namespace OpenRA.Mods.Common.UtilityCommands
}
}
if (engineVersion < 20160826 && depth == 0)
{
// Removed debug visualization
node.Value.Nodes.RemoveAll(n => n.Key == "PathfinderDebugOverlay");
}
UpgradeActorRules(modData, engineVersion, ref node.Value.Nodes, node, depth + 1);
}