mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +00:00
Make cv_exitmove only have effect if gametype is GT_COOP, otherwise immediately exit (resolves #342).
This commit is contained in:
parent
d99e3f8337
commit
4dfae1a65b
1 changed files with 1 additions and 1 deletions
|
@ -11470,7 +11470,7 @@ void P_PlayerThink(player_t *player)
|
||||||
|
|
||||||
if (player->pflags & PF_FINISHED)
|
if (player->pflags & PF_FINISHED)
|
||||||
{
|
{
|
||||||
if (cv_exitmove.value && !G_EnoughPlayersFinished())
|
if ((gametype == GT_COOP && cv_exitmove.value) && !G_EnoughPlayersFinished())
|
||||||
player->exiting = 0;
|
player->exiting = 0;
|
||||||
else
|
else
|
||||||
P_DoPlayerExit(player);
|
P_DoPlayerExit(player);
|
||||||
|
|
Loading…
Reference in a new issue