mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix final-ring whip charge delay edge case
This commit is contained in:
parent
c41b8e97da
commit
17a9d39877
1 changed files with 1 additions and 1 deletions
|
|
@ -8270,7 +8270,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
// If the button stays held, delay charge a bit.
|
||||
if (player->instaWhipChargeLockout)
|
||||
player->instaWhipChargeLockout--;
|
||||
if (player->rings > 0 || player->itemamount)
|
||||
if (player->rings > 0 || player->itemamount || player->ringdelay)
|
||||
player->instaWhipChargeLockout = 3*TICRATE/4;
|
||||
if (!(player->cmd.buttons & BT_ATTACK)) // Deliberate Item button release, no need to protect you from lockout
|
||||
player->instaWhipChargeLockout = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue