mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-18 15:56:34 -08:00
Possibly fix #1716
This commit is contained in:
@@ -86,6 +86,8 @@ void Server_AbstractUserInterface::joinPersistentGames(ResponseContainer &rc)
|
||||
QMutexLocker gameLocker(&game->gameMutex);
|
||||
|
||||
Server_Player *player = game->getPlayers().value(pr.getPlayerId());
|
||||
if (!player)
|
||||
continue;
|
||||
|
||||
player->setUserInterface(this);
|
||||
playerAddedToGame(game->getGameId(), room->getId(), player->getPlayerId());
|
||||
|
||||
Reference in New Issue
Block a user