made ToggleReady work through chat (/ready) rather than an order against an actor

This commit is contained in:
Chris Forbes
2010-03-17 21:26:57 +13:00
parent 66818543a8
commit 38172dcda5
3 changed files with 35 additions and 35 deletions

View File

@@ -411,8 +411,7 @@ namespace OpenRA
void CycleReady(bool left)
{
Game.IssueOrder(
new Order("ToggleReady", Game.world.LocalPlayer.PlayerActor, "") { IsImmediate = true });
Game.IssueOrder(Order.Chat("/ready"));
}
void CycleSpawnPoint(bool left)