From 81013ace75b5b887ebc58d97de6cbd10e6a677ae Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Sun, 13 Nov 2016 15:02:36 -0500 Subject: [PATCH] Fix gear menu bypass mistake from 89078d1 --- SQF/dayz_code/compile/fn_gearMenuChecks.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/compile/fn_gearMenuChecks.sqf b/SQF/dayz_code/compile/fn_gearMenuChecks.sqf index 4bf70cf54..ddb1ed8e8 100644 --- a/SQF/dayz_code/compile/fn_gearMenuChecks.sqf +++ b/SQF/dayz_code/compile/fn_gearMenuChecks.sqf @@ -47,8 +47,8 @@ if ((vehicle player) == player) then { //direct gear to cursorTarget [_lastSave, _startTime, _ctType, _cTarget] spawn { waitUntil {((_this select 0) != dayz_lastSave) || {diag_tickTime >= ((_this select 1) + 1)}}; //waiting is required otherwise player_forceSave will reset DZE_GearCheckBypass - DZE_GearCheckBypass = true; if (!dialog) then { + DZE_GearCheckBypass = true; if ((((_this select 2) in DZE_isNewStorage) || {(_this select 2) == "LockboxStorage"} || {(_this select 2) isKindOf "Land_A_tent"} || {(_this select 2) isKindOf "WeaponHolder"} || {((!alive (_this select 3)) && {(_this select 2) isKindOf "Man"})}) && {!(locked (_this select 3))}) then { Player action ["GEAR", (_this select 3)]; } else {