mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Fix double tap bunny hop with no weapon glitch
Also makes it easier to bunny hop in quick succession. Previously double
tap triggered a bunny hop immediately followed by a regular vault.
Vanilla commit:
5833c76491
This commit is contained in:
@@ -250,6 +250,10 @@ if (isNil "keyboard_keys") then {
|
||||
_handled = true;
|
||||
r_interrupt = true;
|
||||
};
|
||||
if (animationState player in ["bunnyhopunarmed","bunnyhoprifle"]) then {
|
||||
//Fixes invisible weapon switch glitch if double tapping vault with no weapon in hands
|
||||
_handled = true;
|
||||
};
|
||||
if (player isKindOf "PZombie_VB") then {
|
||||
_handled = true; // do not allow player zombies to vault or jump
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user