mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user