mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
server crash fix
This commit is contained in:
parent
c4efa8f1aa
commit
de44918dce
1 changed files with 1 additions and 1 deletions
|
|
@ -253,8 +253,8 @@ bool Server_Game::kickPlayer(int playerId)
|
|||
if (!playerToKick)
|
||||
return false;
|
||||
|
||||
removePlayer(playerToKick);
|
||||
sendGameEventToPlayer(playerToKick, new Event_Kicked);
|
||||
removePlayer(playerToKick);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue