mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-13 01:24:46 -07:00
fixed server crash condition
This commit is contained in:
parent
c12d7a08c2
commit
b289ab0d9f
3 changed files with 11 additions and 5 deletions
|
|
@ -82,7 +82,7 @@ public:
|
|||
bool containsUser(const QString &userName) const;
|
||||
Server_Player *addPlayer(Server_ProtocolHandler *handler, bool spectator, bool broadcastUpdate = true);
|
||||
void removePlayer(Server_Player *player);
|
||||
void removeArrowsToPlayer(Server_Player *player);
|
||||
void removeArrowsRelatedToPlayer(Server_Player *player);
|
||||
bool kickPlayer(int playerId);
|
||||
void startGameIfReady();
|
||||
void stopGameIfFinished();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue