mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-11 01:02:16 +00:00
Merge branch 'fix-generous-lap-reset' into 'master'
Don't allow respawn lap reset to increase lap See merge request KartKrew/Kart!1612
This commit is contained in:
commit
f01a0f62f3
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