mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'ring-bail-gp-life-loss' into 'master'
Fix unintended life loss in GP when finishing a race with -20 rings. See merge request kart-krew-dev/ring-racers!76
This commit is contained in:
commit
de0fc7d3be
1 changed files with 1 additions and 1 deletions
|
|
@ -1330,7 +1330,7 @@ void P_DoPlayerExit(player_t *player, pflags_t flags)
|
|||
|
||||
if (grandprixinfo.gp == true
|
||||
&& grandprixinfo.eventmode != GPEVENT_SPECIAL
|
||||
&& player->bot == false && losing == false)
|
||||
&& player->bot == false && losing == false && player->hudrings > 0)
|
||||
{
|
||||
const UINT8 lifethreshold = 20;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue