diff options
-rw-r--r-- | network_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network_server.c b/network_server.c index d70583ab5..840994b66 100644 --- a/network_server.c +++ b/network_server.c @@ -932,8 +932,6 @@ DEF_SERVER_RECEIVE_COMMAND(PACKET_CLIENT_QUIT) if (new_cs->status > STATUS_AUTH) { SEND_COMMAND(PACKET_SERVER_QUIT)(new_cs, cs->index, str); } - - CheckMinPlayers(); } cs->quited = true; @@ -957,6 +955,8 @@ DEF_SERVER_RECEIVE_COMMAND(PACKET_CLIENT_ACK) NetworkServer_HandleChat(NETWORK_ACTION_CHAT, DESTTYPE_BROADCAST, 0, "Game unpaused (client connected)", NETWORK_SERVER_INDEX); } + CheckMinPlayers(); + /* Execute script for, e.g. MOTD */ IConsoleCmdExec("exec scripts/on_server_connect.scr 0"); } |