Fixes bug #23: enemy units can be ordered
This commit is contained in:
@@ -63,7 +63,10 @@ namespace OpenRa.Game
|
||||
}
|
||||
|
||||
public Order Order( int2 xy )
|
||||
{
|
||||
{
|
||||
if (Owner != Game.LocalPlayer)
|
||||
return null;
|
||||
|
||||
return traits.WithInterface<Traits.IOrder>()
|
||||
.Select( x => x.Order( this, xy ) )
|
||||
.FirstOrDefault( x => x != null );
|
||||
|
||||
Reference in New Issue
Block a user