mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 18:36:29 +03:00
Update fn_selfActions.sqf
Fix players not being able to lock a safe that they do not have the combination for.
This commit is contained in:
@@ -616,7 +616,7 @@ if (!isNull _cursorTarget && {!_inVehicle && !_isPZombie && _canDo && player dis
|
||||
};
|
||||
|
||||
//Allow owner to unlock vault
|
||||
if (_isClose && !keypadCancel && {(_typeOfCursorTarget in DZE_LockedStorage) && {_characterID != "0"}}) then {
|
||||
if (_isClose && !keypadCancel && {_characterID != "0"}) then {
|
||||
if (s_player_unlockvault < 0) then {
|
||||
local _combi = [];
|
||||
if (_typeOfCursorTarget in DZE_LockedStorage) then {
|
||||
@@ -1110,4 +1110,4 @@ if (_dogHandle > 0) then {
|
||||
};
|
||||
|
||||
//Monitor
|
||||
player setVariable ["selfActions", diag_ticktime, false];
|
||||
player setVariable ["selfActions", diag_ticktime, false];
|
||||
|
||||
Reference in New Issue
Block a user