Update fn_selfActions.sqf

This commit is contained in:
looter809
2021-08-02 09:39:16 -07:00
committed by GitHub
parent 17cc619d06
commit 831ad4b006

View File

@@ -616,7 +616,7 @@ if (!isNull _cursorTarget && {!_inVehicle && !_isPZombie && _canDo && player dis
};
//Allow owner to unlock vault
if (_isClose && !keypadCancel && {_characterID != "0"}) then {
if (_isClose && !keypadCancel && {(_typeOfCursorTarget in (DZE_LockedStorage + DZE_UnLockedStorage)) && {_characterID != "0"}}) then {
if (s_player_unlockvault < 0) then {
local _combi = [];
if (_typeOfCursorTarget in DZE_LockedStorage) then {