Update vault_combination_1.sqf

This commit is contained in:
AirwavesMan
2020-09-12 15:49:59 +02:00
parent eb337d5f08
commit 38f69e3121

View File

@@ -1,5 +1,3 @@
private ["_ok"];
if (dayz_actionInProgress) exitWith {localize "STR_EPOCH_PLAYER_21" call dayz_rollingMessages;}; if (dayz_actionInProgress) exitWith {localize "STR_EPOCH_PLAYER_21" call dayz_rollingMessages;};
dayz_actionInProgress = true; dayz_actionInProgress = true;
@@ -12,11 +10,11 @@ if (dayz_lastCodeFail > diag_tickTime) exitWith {
}; };
if (!isNull dayz_selectedVault) then { if (!isNull dayz_selectedVault) then {
if ((typeOf dayz_selectedVault) == "VaultStorageLocked" || (typeOf dayz_selectedVault) == "VaultStorage") then { if ((typeOf dayz_selectedVault) in ["VaultStorageLocked","VaultStorage","VaultStorage2Locked","VaultStorage2"]) then {
_ok = createDialog "SafeKeyPad"; createDialog "SafeKeyPad";
} else { } else {
_ok = createDialog "KeypadUI"; createDialog "KeypadUI";
}; };
}; };
dayz_actionInProgress = false; dayz_actionInProgress = false;