mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Remove strike for finishing normally
This commit is contained in:
parent
7b6d527bd4
commit
7333177677
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue