From ce513ed61ad76fec544f74ffe1bfd1d577ef2ec4 Mon Sep 17 00:00:00 2001 From: alzeih Date: Mon, 26 Jul 2010 22:04:41 +1200 Subject: [PATCH] oops --- OpenRA.Game/Traits/Selectable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Game/Traits/Selectable.cs b/OpenRA.Game/Traits/Selectable.cs index e8e3615138..9a8ef3d30b 100755 --- a/OpenRA.Game/Traits/Selectable.cs +++ b/OpenRA.Game/Traits/Selectable.cs @@ -152,7 +152,7 @@ namespace OpenRA.Traits void DrawUnitPath(Actor self) { - if (!Game.Settings.PathDebug) return; + if (!Game.world.LocalPlayer.PlayerActor.traits.Get().PathDebug) return; var mobile = self.traits.WithInterface().FirstOrDefault(); if (mobile != null)