private static void handleRoundStarted(IIncommingMessage rawMsg) { if (ClientUIOverlord.currentState == ClientUIStates.PlayingGame && isInTournament) { ClientUIStateManager.requestGotoState(ClientUIStates.GameLobby, () => { NewGameCreator.handleJoinPreGame(GameInfoType.PreGame, rawMsg.AsString()); }); } else { NewGameCreator.handleJoinPreGame(GameInfoType.PreGame, rawMsg.AsString()); } }
private void Start() { singleton = this; }