Account for exiting but non-finished players in G_EnoughPlayersFinished

This commit is contained in:
Louis-Antoine 2019-11-24 23:40:40 +01:00
parent 23643e05c0
commit 74ae5819c4
1 changed files with 1 additions and 1 deletions

View File

@ -2997,7 +2997,7 @@ boolean G_EnoughPlayersFinished(void)
continue;
total++;
if (players[i].pflags & PF_FINISHED)
if ((players[i].pflags & PF_FINISHED) || players[i].exiting)
exiting++;
}