Skip movies with `esc'

This commit is contained in:
Paul Chote
2010-08-16 17:39:32 +12:00
parent 38e5f70cbe
commit 0cf51d8142
3 changed files with 17 additions and 2 deletions

View File

@@ -390,9 +390,11 @@ namespace OpenRA
orderManager.StartGame();
}
public static event Action OnGameStart = () => { };
public static event Action OnGameStart = () => {};
public static event Action BeforeGameStart = () => {};
internal static void StartGame()
{
BeforeGameStart();
LoadMap(LobbyInfo.GlobalSettings.Map);
if (orderManager.GameStarted) return;
Widget.SelectedWidget = null;