Possibly fix #1716
This commit is contained in:
parent
7e6972a358
commit
81cad7cefd
1 changed files with 2 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue