mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
server bugfix
This commit is contained in:
parent
d54d9f0d85
commit
dff26376fd
2 changed files with 5 additions and 4 deletions
|
|
@ -156,7 +156,9 @@ void Server::broadcastChannelUpdate()
|
|||
void Server::gameClosing()
|
||||
{
|
||||
qDebug("Server::gameClosing");
|
||||
games.remove(games.key(static_cast<ServerGame *>(sender())));
|
||||
ServerGame *game = static_cast<ServerGame *>(sender());
|
||||
broadcastGameListUpdate(game);
|
||||
games.remove(games.key(game));
|
||||
}
|
||||
|
||||
void Server::removePlayer(ServerSocket *player)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue