Use guard input, not state, to cancel whip charge (barrier fix)

This commit is contained in:
AJ Martinez 2024-01-06 05:15:51 -07:00
parent bc4859cf75
commit 0529b740d9

View file

@ -8701,7 +8701,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
if (player->justbumped > 0)
player->justbumped--;
if (K_PlayerGuard(player) || K_PlayerEBrake(player))
if (K_PressingEBrake(player) == true)
{
player->instaWhipCooldown = INSTAWHIP_DROPGUARD;
}