Do not subtract grief strikes for finishing a race normally

Prevents scenarios where someone engages in alternating sporting and unsporting behaviour and never experiences lasting consequences
This commit is contained in:
toaster 2023-04-17 20:00:34 +01:00
parent ab68be49e1
commit 477eb000e5

View file

@ -1267,12 +1267,6 @@ void P_DoPlayerExit(player_t *player)
return;
}
if (player->griefStrikes > 0)
{
// Remove a strike for finishing a race normally
player->griefStrikes--;
}
if (P_IsLocalPlayer(player) && (!player->spectator && !demo.playback))
{
legitimateexit = true;
@ -3798,12 +3792,6 @@ void P_DoTimeOver(player_t *player)
return;
}
if (player->griefStrikes > 0)
{
// Remove a strike for finishing a race normally
player->griefStrikes--;
}
if (P_IsLocalPlayer(player) && !demo.playback)
{
legitimateexit = true; // SRB2kart: losing a race is still seeing it through to the end :p