RMB to cancel orders

This commit is contained in:
Chris Forbes
2009-10-06 22:21:15 +13:00
parent 108d799b29
commit 9eb03e3839
3 changed files with 5 additions and 2 deletions

View File

@@ -27,6 +27,9 @@ namespace OpenRa.Game
orderGenerator.Order(game, new int2((int)xy.X, (int)xy.Y)).Apply(game);
// todo: route all orders through netcode
}
if (mi.Button == MouseButtons.Right && mi.Event == MouseInputEvent.Down)
orderGenerator = null;
}
}
}