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