Merge pull request #2151 from looter809/patch-1

Update fn_selfActions.sqf
This commit is contained in:
worldwidesorrow
2021-08-02 14:14:18 -05:00
committed by GitHub

View File

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