Add the Other PlayersForExit Conditions

This commit is contained in:
SMS Alfredo 2023-09-19 17:30:46 -05:00
parent 71b0f002c9
commit ab8aa245d6

View file

@ -4490,6 +4490,13 @@ static void Command_ExitLevel_f(void)
INT32 i;
for (i = 0; i < MAXPLAYERS; i++)
{
if (!playeringame[i] || players[i].spectator || players[i].bot)
continue;
if (players[i].quittime > 30 * TICRATE)
continue;
if (players[i].lives <= 0)
continue;
if ((players[i].pflags & PF_FINISHED) || players[i].exiting)
{
SendNetXCmd(XD_EXITLEVEL, NULL, 0);