Merge branch 'kill-ringboost-when-lightsnaking' into 'master'

Remove ringboost when respawning

Closes #1503

See merge request kart-krew-dev/ring-racers-internal!2638
This commit is contained in:
Oni VelocitOni 2025-06-21 03:57:05 +00:00
commit 40711898e0

View file

@ -9751,7 +9751,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
player->tricklock = 0;
}
if (P_PlayerInPain(player))
if (P_PlayerInPain(player) || player->respawn.state != RESPAWNST_NONE)
{
player->ringboost = 0;
}