Make cv_exitmove only have effect if gametype is GT_COOP, otherwise immediately exit (resolves #342).

This commit is contained in:
toaster 2019-11-24 13:35:26 +00:00
parent d99e3f8337
commit 4dfae1a65b
1 changed files with 1 additions and 1 deletions

View File

@ -11470,7 +11470,7 @@ void P_PlayerThink(player_t *player)
if (player->pflags & PF_FINISHED)
{
if (cv_exitmove.value && !G_EnoughPlayersFinished())
if ((gametype == GT_COOP && cv_exitmove.value) && !G_EnoughPlayersFinished())
player->exiting = 0;
else
P_DoPlayerExit(player);