mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
UI - Fix changing UI settings (#8541)
This commit is contained in:
parent
e6bc44225f
commit
77fe9ab434
@ -40,7 +40,7 @@ GVAR(elementsSet) = call CBA_fnc_createNamespace;
|
||||
if (_name in ELEMENTS_BASIC) then {
|
||||
[true] call FUNC(setElements);
|
||||
} else {
|
||||
private _nameNoPrefix = toLower (_name select [_delimPos]);
|
||||
private _nameNoPrefix = toLower (_name select [7]);
|
||||
private _cachedElement = GVAR(configCache) getVariable _nameNoPrefix;
|
||||
if (!isNil "_cachedElement") then {
|
||||
[_nameNoPrefix, _value, true] call FUNC(setAdvancedElement);
|
||||
|
Loading…
Reference in New Issue
Block a user