mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-12 13:33:58 -07:00
Don't close the game tab immediately when kicked out of a game. Fixes bug #25
This commit is contained in:
parent
d251078feb
commit
0b51af888c
4 changed files with 30 additions and 9 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue