diff --git a/SQF/dayz_code/compile/fn_selfActions.sqf b/SQF/dayz_code/compile/fn_selfActions.sqf index ce3efab47..4550ecff6 100644 --- a/SQF/dayz_code/compile/fn_selfActions.sqf +++ b/SQF/dayz_code/compile/fn_selfActions.sqf @@ -252,7 +252,7 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu }; If(DZE_AllowCargoCheck) then { - if((_isVehicle or _isTent or _isnewstorage) and _isAlive and !_isMan) then { + if((_isVehicle or _isTent or _isnewstorage) and _isAlive and !_isMan and !locked _cursorTarget) then { if (s_player_checkGear < 0) then { s_player_checkGear = player addAction ["Cargo Check", "\z\addons\dayz_code\actions\cargocheck.sqf",_cursorTarget, 1, true, true, "", ""]; };