Remove strike for finishing normally

This commit is contained in:
Sally Coolatta 2020-11-03 13:23:10 -05:00
parent 7b6d527bd4
commit 7333177677

View file

@ -1698,6 +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 (G_RaceGametype()) // If in Race Mode, allow
{
player->exiting = raceexittime+2;