diff --git a/src/p_user.c b/src/p_user.c index ae41aae9e002f2006e3113d9551e2057830db4c1..a7612587438616bbd9c47326c253cc4e0427ed6b 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -8745,27 +8745,7 @@ void P_PlayerThink(player_t *player) if (player->exiting == 2 || countdown2 == 2) { - if (cv_playersforexit.value) // Count to be sure everyone's exited - { - INT32 i; - - for (i = 0; i < MAXPLAYERS; i++) - { - if (!playeringame[i] || players[i].spectator || players[i].bot) - continue; - if (players[i].lives <= 0) - continue; - - if (!players[i].exiting || players[i].exiting > 3) - break; - } - - if (i == MAXPLAYERS) - SendNetXCmd(XD_EXITLEVEL, NULL, 0); - else - player->exiting = 3; - } - else + if (player-players == consoleplayer) SendNetXCmd(XD_EXITLEVEL, NULL, 0); }