From 7e82dc729bbb7027bb91f276a263dd506e22e2e4 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Tue, 17 Aug 2010 19:58:51 +1200 Subject: [PATCH] fix mouse/tree and mouse/crate interactions. --- OpenRA.Game/Actor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Game/Actor.cs b/OpenRA.Game/Actor.cs index 52feda0cbe..fd6a438910 100755 --- a/OpenRA.Game/Actor.cs +++ b/OpenRA.Game/Actor.cs @@ -116,7 +116,7 @@ namespace OpenRA return null; var underCursor = World.FindUnitsAtMouse(mi.Location) - //.Where(a => a.Info.Traits.Contains()) + .Where(a => a.Info.Traits.Contains()) .OrderByDescending(a => a.Info.Traits.Contains() ? a.Info.Traits.Get().Priority : int.MinValue) .FirstOrDefault();