This commit is contained in:
Chris Forbes
2009-11-09 23:50:43 +13:00
parent bf2a87f73e
commit 2b4196a4ea

View File

@@ -72,9 +72,7 @@ namespace OpenRa.Game.Traits
public Order Order( Actor self, int2 xy, bool lmb, Actor underCursor )
{
if( lmb || underCursor == null ) return null;
if( underCursor.Owner == self.Owner ) return null;
return OpenRa.Game.Order.Attack( self, underCursor );
}
}