fix ironcurtain

This commit is contained in:
Bob
2010-10-21 18:26:35 +13:00
parent a61d21e501
commit 8e4f5da791

View File

@@ -77,13 +77,8 @@ namespace OpenRA.Mods.RA
&& a.HasTrait<Selectable>()).FirstOrDefault(); && a.HasTrait<Selectable>()).FirstOrDefault();
if( underCursor != null ) if( underCursor != null )
{
world.CancelInputMode();
yield return new Order( "IronCurtain", underCursor.Owner.PlayerActor, underCursor ); yield return new Order( "IronCurtain", underCursor.Owner.PlayerActor, underCursor );
}
} }
yield break;
} }
public void Tick(World world) public void Tick(World world)