Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
aebc18fc
Commit
aebc18fc
authored
Dec 26, 2015
by
ctrlaltca
Browse files
Merge pull request #1717 from ctrlaltca/fix_1716
Possibly fix server crash #1716
parents
4e17014e
81cad7ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/server_abstractuserinterface.cpp
View file @
aebc18fc
...
...
@@ -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
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment