mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 02:41:49 +00:00
Make cv_exitmove only have effect if gametype is GT_COOP, otherwise immediately exit (resolves #342).
This commit is contained in:
parent
f6e135dccc
commit
1fe24405db
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…
Add table
Reference in a new issue