mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +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:
@@ -249,6 +249,10 @@ if (isNil "keyboard_keys") then {
|
|||||||
Dayz_constructionContext set [ 5, !(Dayz_constructionContext select 5) ];
|
Dayz_constructionContext set [ 5, !(Dayz_constructionContext select 5) ];
|
||||||
_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
|
||||||
|
|||||||
Reference in New Issue
Block a user