From ea2eaf1dddef4ad188eaacea23c6ff803758e4b7 Mon Sep 17 00:00:00 2001 From: johnb432 <58661205+johnb432@users.noreply.github.com> Date: Sat, 12 Oct 2024 09:59:08 +0200 Subject: [PATCH] Update initSettings.inc.sqf --- addons/goggles/initSettings.inc.sqf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/goggles/initSettings.inc.sqf b/addons/goggles/initSettings.inc.sqf index 9b2fba6ef77..63a5684af17 100644 --- a/addons/goggles/initSettings.inc.sqf +++ b/addons/goggles/initSettings.inc.sqf @@ -3,7 +3,9 @@ LSTRING(effects_displayName), localize LSTRING(SettingsName), [[0, 1, 2, 3], [ELSTRING(common,Disabled), LSTRING(effects_tintOnly), LSTRING(enabled_tintAndEffects), LSTRING(effects_effectsOnly)], 2], - 0 + 0, + {[QGVAR(effects), _this] call EFUNC(common,cbaSettings_settingChanged)}, + true // Needs mission restart ] call CBA_fnc_addSetting; [