remove UIM-debug from settings (now in DeveloperMode trait)

This commit is contained in:
Bob
2010-10-20 17:38:43 +13:00
committed by Chris Forbes
parent 6012f1d592
commit de92a2fc0c
4 changed files with 11 additions and 10 deletions

View File

@@ -41,7 +41,7 @@ namespace OpenRA
public void Draw( WorldRenderer wr, World world )
{
if (Game.Settings.Debug.ShowCollisions)
if (world.LocalPlayer.PlayerActor.Trait<DeveloperMode>().UnitInfluenceDebug)
{
var uim = world.WorldActor.Trait<UnitInfluence>();