mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Don't increase karted time when faulted
This commit is contained in:
parent
35ab0bd52c
commit
9a23bde435
1 changed files with 1 additions and 0 deletions
|
|
@ -4238,6 +4238,7 @@ void P_PlayerThink(player_t *player)
|
||||||
|
|
||||||
// Track airtime
|
// Track airtime
|
||||||
if (P_IsObjectOnGround(player->mo)
|
if (P_IsObjectOnGround(player->mo)
|
||||||
|
&& !(player->pflags & PF_FAULT)
|
||||||
&& !P_PlayerInPain(player)) // This isn't airtime, but it's control loss all the same.
|
&& !P_PlayerInPain(player)) // This isn't airtime, but it's control loss all the same.
|
||||||
{
|
{
|
||||||
player->lastairtime = player->airtime;
|
player->lastairtime = player->airtime;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue