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:49:32 +12:00
committed by GitHub
parent 2a65a4119d
commit 27801a111b

View File

@@ -387,7 +387,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;
};