mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-17 09:53:21 +03:00
Replace forEach with Count
Use count where you do not need _forEachIndex variable, it's quicker than forEach.
This commit is contained in:
@@ -8,7 +8,7 @@ dayz_combination = "";
|
||||
|
||||
if(!isNull dayz_selectedVault) then {
|
||||
|
||||
if ((typeOf dayz_selectedVault) == "VaultStorageLocked" or (typeOf dayz_selectedVault) == "VaultStorage") then {
|
||||
if ((typeOf dayz_selectedVault) == "VaultStorageLocked" || (typeOf dayz_selectedVault) == "VaultStorage") then {
|
||||
_ok = createdialog "SafeKeyPad";
|
||||
} else {
|
||||
_ok = createdialog "KeypadUI";
|
||||
|
||||
Reference in New Issue
Block a user