mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
server crash fix
This commit is contained in:
parent
9c4264b491
commit
3714e1cbf5
3 changed files with 19 additions and 2 deletions
|
|
@ -17,6 +17,9 @@ Server_Player::Server_Player(Server_Game *_game, int _playerId, const QString &_
|
|||
Server_Player::~Server_Player()
|
||||
{
|
||||
delete deck;
|
||||
|
||||
if (handler)
|
||||
handler->playerRemovedFromGame(game);
|
||||
}
|
||||
|
||||
int Server_Player::newCardId()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue