Kill Controller

This commit is contained in:
Paul Chote
2010-07-25 19:21:53 +12:00
parent e677be7908
commit 305fa03355
31 changed files with 208 additions and 234 deletions

View File

@@ -29,7 +29,7 @@ namespace OpenRA.Orders
public IEnumerable<Order> Order(World world, int2 xy, MouseInput mi)
{
if (mi.Button == MouseButton.Right)
Game.controller.CancelInputMode();
world.CancelInputMode();
return OrderInner(world, xy, mi);
}
@@ -60,7 +60,7 @@ namespace OpenRA.Orders
.Any();
if (!hasStructure)
Game.controller.CancelInputMode();
world.CancelInputMode();
}
}