Fix auto unlock to function like storage

Safe/lockbox will be able to be auto unlocked after placing due to setting dayz_combination to _combination.
Locked doors use DZE_Lock_Door instead.
This commit is contained in:
oiad
2017-09-11 22:50:52 +12:00
committed by GitHub
parent 27801a111b
commit 76bafe55ec

View File

@@ -506,7 +506,7 @@ if (_canBuild select 0) then {
_combination_2 = floor(random 10);
_combination_3 = floor(random 10);
_combination = format["%1%2%3",_combination_1,_combination_2,_combination_3];
dayz_combination = _combination;
DZE_Lock_Door = _combination;
_combinationDisplay = _combination;
};