diff --git a/SQF/dayz_code/compile/fn_gearMenuChecks.sqf b/SQF/dayz_code/compile/fn_gearMenuChecks.sqf index 3841d180c..b96c5d208 100644 --- a/SQF/dayz_code/compile/fn_gearMenuChecks.sqf +++ b/SQF/dayz_code/compile/fn_gearMenuChecks.sqf @@ -1,6 +1,6 @@ disableSerialization; _display = (_this select 0); -_close = {locked _x} count (nearestObjects [player, ["AllVehicle"], 10]) > 0; +_close = {locked _x} count (nearestObjects [player, ["AllVehicles"], 5]) > 0; if(_close) then { _display closeDisplay 1;