Don't close the game tab immediately when kicked out of a game. Fixes bug #25

This commit is contained in:
Max-Wilhelm Bruker 2012-03-26 19:32:27 +02:00
parent d251078feb
commit 0b51af888c
4 changed files with 30 additions and 9 deletions

View file

@ -109,6 +109,7 @@ private:
int currentPhase;
int activePlayer;
CardItem *activeCard;
bool gameClosed;
// Replay related members
GameReplay *replay;
@ -140,6 +141,7 @@ private:
void startGame(bool resuming);
void stopGame();
void closeGame();
void eventSpectatorSay(const Event_GameSay &event, int eventPlayerId, const GameEventContext &context);
void eventSpectatorLeave(const Event_Leave &event, int eventPlayerId, const GameEventContext &context);