Options Menu - Fix main-menu news setting not working (#9886)

This commit is contained in:
PabstMirror 2024-03-28 14:55:07 -05:00 committed by GitHub
parent cbb160c1e0
commit 9daf71edd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,5 +5,9 @@ private _category = [LELSTRING(common,categoryUncategorized), LLSTRING(aceNews)]
LSTRING(showNewsOnMainMenu_name), LSTRING(showNewsOnMainMenu_name),
_category, _category,
true, true,
0 0,
{
if (!hasInterface) exitWith {};
profileNamespace setVariable [QGVAR(showNewsOnMainMenu), _this];
}
] call CBA_fnc_addSetting; ] call CBA_fnc_addSetting;