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:
Eidolon 2025-10-25 19:38:14 -05:00
commit de0fc7d3be

View file

@ -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;