fix some support powers

This commit is contained in:
Bob
2010-10-02 14:57:17 +12:00
committed by Paul Chote
parent d6110b9ef0
commit 0cd140849b
10 changed files with 8 additions and 27 deletions

View File

@@ -35,8 +35,11 @@ namespace OpenRA.Orders
IEnumerable<Order> OrderInner(World world, int2 xy, MouseInput mi)
{
if (mi.Button == MouseButton.Left && world.Map.IsInMap(xy))
yield return new Order(order, subject, xy);
if( mi.Button == MouseButton.Left && world.Map.IsInMap( xy ) )
{
world.CancelInputMode();
yield return new Order( order, subject, xy );
}
}
public virtual void Tick(World world) { }