mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-05 09:46:40 +00:00
Don't allow respawn lap reset to increase lap
This commit is contained in:
parent
6686215330
commit
3313935630
1 changed files with 1 additions and 1 deletions
|
|
@ -295,7 +295,7 @@ void K_DoIngameRespawn(player_t *player)
|
|||
player->respawn.init = true;
|
||||
player->respawn.fast = true;
|
||||
player->respawn.returnspeed = 0;
|
||||
player->laps = player->lastsafelap;
|
||||
player->laps = min(player->laps, player->lastsafelap);
|
||||
|
||||
player->respawn.airtimer = player->airtime;
|
||||
player->respawn.truedeath = !!(player->pflags & PF_FAULT);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue