Pause the game option.

Game is paused when PAUSE on the keyboard has been hit. It can also be unpaused this way.
This commit is contained in:
Remco van der Zon
2012-05-16 17:35:10 +02:00
parent b99e664726
commit a07697be03
6 changed files with 36 additions and 5 deletions

View File

@@ -94,6 +94,12 @@ namespace OpenRA.Network
Game.StartGame(orderManager.LobbyInfo.GlobalSettings.Map, false);
break;
}
case "PauseGame":
{
orderManager.GamePaused = !orderManager.GamePaused;
break;
}
case "HandshakeRequest":
{