mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 21:29:59 +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;
|
_handled = true;
|
||||||
r_interrupt = 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 {
|
if (player isKindOf "PZombie_VB") then {
|
||||||
_handled = true; // do not allow player zombies to vault or jump
|
_handled = true; // do not allow player zombies to vault or jump
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user