started working on the Player-Actor.

This commit is contained in:
Bob
2009-12-15 21:58:09 +13:00
parent 9e68f4fb9d
commit ca946ea7cf
8 changed files with 131 additions and 85 deletions

View File

@@ -135,8 +135,7 @@ namespace OpenRa.Game
{
Game.LocalPlayer.IsReady ^= true;
Game.controller.AddOrder(
new Order(Game.LocalPlayer,
"ToggleReady", null, null, int2.Zero,
new Order( "ToggleReady", Game.LocalPlayer.PlayerActor, null, int2.Zero,
Game.LocalPlayer.IsReady ? "ready" : "not ready") { IsImmediate = true });
}