mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix selective UI script error when changing certain other settings
This commit is contained in:
parent
48ab81ad87
commit
b541b0b4f0
@ -32,8 +32,10 @@ if (!hasInterface) exitWith {};
|
||||
if (_name in ELEMENTS_BASIC) then {
|
||||
[false] call FUNC(setElements);
|
||||
} else {
|
||||
if (isClass (configFile >> "ACE_UI" >> _name)) then {
|
||||
[_name select [7], missionNamespace getVariable _name, true] call FUNC(setAdvancedElement);
|
||||
};
|
||||
};
|
||||
}] call EFUNC(common,addEventHandler);
|
||||
|
||||
}] call EFUNC(common,addEventHandler);
|
||||
|
Loading…
Reference in New Issue
Block a user