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

@@ -148,6 +148,10 @@ namespace OpenRA.Widgets
world.Selection.DoControlGroup(world, e.KeyName[0] - '0', e.Modifiers);
return true;
}
else if(e.KeyName == "pause")
{
world.IssueOrder(Order.PauseRequest());
}
bool handled = false;