From 513652c9fadafb3860e32908f04176fc621375f5 Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Tue, 3 Nov 2020 13:23:41 -0500 Subject: [PATCH] Actually, let's avoid a future bruh moment --- src/p_user.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_user.c b/src/p_user.c index 440f00c9..7f022df0 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -1698,7 +1698,8 @@ void P_DoPlayerExit(player_t *player) if (P_IsLocalPlayer(player) && (!player->spectator && !demo.playback)) legitimateexit = true; - player->griefstrikes--; // Remove a strike for finishing a race normally + if (player->griefstrikes > 0) + player->griefstrikes--; // Remove a strike for finishing a race normally if (G_RaceGametype()) // If in Race Mode, allow {