Don't increase karted time when faulted

This commit is contained in:
Antonio Martinez 2025-05-20 18:48:21 -04:00
parent 35ab0bd52c
commit 9a23bde435

View file

@ -4238,6 +4238,7 @@ void P_PlayerThink(player_t *player)
// Track airtime
if (P_IsObjectOnGround(player->mo)
&& !(player->pflags & PF_FAULT)
&& !P_PlayerInPain(player)) // This isn't airtime, but it's control loss all the same.
{
player->lastairtime = player->airtime;