Actually, let's avoid a future bruh moment

This commit is contained in:
Sally Coolatta 2020-11-03 13:23:41 -05:00
parent 7333177677
commit 513652c9fa

View file

@ -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
{