diff --git a/SQF/dayz_code/compile/player_lockVault.sqf b/SQF/dayz_code/compile/player_lockVault.sqf index c72bc71cd..02c697209 100644 --- a/SQF/dayz_code/compile/player_lockVault.sqf +++ b/SQF/dayz_code/compile/player_lockVault.sqf @@ -31,7 +31,7 @@ if (!isNull _obj) then { [_lockedClass,objNull] call fn_waitForObject; - if (_lockedClass == "LockboxStorageLocked") then { + if (_objType in DZE_LockboxesUnlocked) then { [player,(getPosATL player),20,"lockboxclose"] spawn fnc_alertZombies; } else { [player,(getPosATL player),20,"safeclose"] spawn fnc_alertZombies;