mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-28 08:21:31 +00:00
Fix whip input lockout on instant use items
This commit is contained in:
parent
3f8b557d5e
commit
395675e5b0
1 changed files with 1 additions and 1 deletions
|
|
@ -8329,7 +8329,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
player->instaWhipChargeLockout--;
|
||||
if (player->rings > 0 || player->itemamount || player->ringdelay || player->rocketsneakertimer)
|
||||
player->instaWhipChargeLockout = INSTAWHIP_HOLD_DELAY;
|
||||
if (!(player->cmd.buttons & BT_ATTACK)) // Deliberate Item button release, no need to protect you from lockout
|
||||
else if (!(player->cmd.buttons & BT_ATTACK)) // Deliberate Item button release, no need to protect you from lockout
|
||||
player->instaWhipChargeLockout = 0;
|
||||
|
||||
if (player->instaWhipCharge && player->instaWhipCharge < INSTAWHIP_CHARGETIME)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue