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:
@@ -120,6 +120,7 @@ if ((count _upgrade) > 0) then {
|
|||||||
_combination = format["%1%2%3",_combination_1,_combination_2,_combination_3];
|
_combination = format["%1%2%3",_combination_1,_combination_2,_combination_3];
|
||||||
|
|
||||||
_objectCharacterID = _combination;
|
_objectCharacterID = _combination;
|
||||||
|
DZE_Lock_Door = _combination;
|
||||||
|
|
||||||
format[localize "str_epoch_player_158",_combination,_text] call dayz_rollingMessages;
|
format[localize "str_epoch_player_158",_combination,_text] call dayz_rollingMessages;
|
||||||
systemChat format[localize "str_epoch_player_158",_combination,_text];
|
systemChat format[localize "str_epoch_player_158",_combination,_text];
|
||||||
|
|||||||
Reference in New Issue
Block a user