fixed PlaceBuilding and Chronosphere ordergenerators

This commit is contained in:
Bob
2010-10-03 07:42:41 +13:00
committed by Paul Chote
parent aebef4f1c8
commit 3209da4a4a
3 changed files with 29 additions and 6 deletions

View File

@@ -32,7 +32,13 @@ namespace OpenRA.Mods.RA.Orders
if (mi.Button == MouseButton.Right)
world.CancelInputMode();
return InnerOrder(world, xy, mi);
var ret = InnerOrder( world, xy, mi ).ToList();
foreach( var order in ret )
{
world.CancelInputMode();
break;
}
return ret;
}
IEnumerable<Order> InnerOrder(World world, int2 xy, MouseInput mi)