mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-21 23:00:24 -08:00
server crash fix
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user