From e850358e730d4d0b45d37deaeb298d6b6ec010ab Mon Sep 17 00:00:00 2001 From: peter1138 Date: Tue, 3 Oct 2006 16:25:03 +0000 Subject: [PATCH] (svn r6629) - Fix (r6628): One check for the number of players got misplaced by patch... --- network_server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network_server.c b/network_server.c index d70583ab54..840994b665 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"); }