From 718eb8b11f848605c16ca67bf2cb8000c3c29b67 Mon Sep 17 00:00:00 2001 From: toaster Date: Mon, 2 Jan 2023 00:54:24 +0000 Subject: [PATCH] Permit losing a life when exited if the player has PF_NOCONTEST --- src/k_grandprix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/k_grandprix.c b/src/k_grandprix.c index d26787100..6d879054b 100644 --- a/src/k_grandprix.c +++ b/src/k_grandprix.c @@ -675,7 +675,7 @@ void K_PlayerLoseLife(player_t *player) return; } - if (player->spectator || player->exiting || player->bot || player->lives <= 0 || (player->pflags & PF_LOSTLIFE)) + if (player->spectator || (player->exiting && !(player->pflags & PF_NOCONTEST)) || player->bot || player->lives <= 0 || (player->pflags & PF_LOSTLIFE)) { return; }