Invincibility counts down in air, if using S-Monitor power-up

This commit is contained in:
James R 2024-01-08 18:54:06 -08:00
parent d07a6cb739
commit 2c5df2f418

View file

@ -8603,7 +8603,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
}
}
if (player->invincibilitytimer && onground == true)
if (player->invincibilitytimer && (onground == true || K_PowerUpRemaining(player, POWERUP_SMONITOR)))
player->invincibilitytimer--;
if (!player->invincibilitytimer)