diff --git a/addons/medical_engine/initSettings.inc.sqf b/addons/medical_engine/initSettings.inc.sqf index b60ab23344..905f6c005a 100644 --- a/addons/medical_engine/initSettings.inc.sqf +++ b/addons/medical_engine/initSettings.inc.sqf @@ -4,9 +4,8 @@ [LSTRING(Enabled_DisplayName), LSTRING(Enabled_Description)], ELSTRING(medical,Category), true, - true, { - [QGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged) - }, + true, + {[QEGVAR(medical,enabled), _this] call EFUNC(common,cbaSettings_settingChanged)}, true // Needs mission restart ] call CBA_fnc_addSetting; diff --git a/addons/medical_treatment/XEH_postInit.sqf b/addons/medical_treatment/XEH_postInit.sqf index c76ecc81f3..932ee43fb8 100644 --- a/addons/medical_treatment/XEH_postInit.sqf +++ b/addons/medical_treatment/XEH_postInit.sqf @@ -35,7 +35,7 @@ if (isServer) then { // replace medical items with their ACE equivalents ["CBA_settingsInitialized", { - TRACE_1("CBA_settingsInitialized EH",GVAR(convertItems)); // 0: Enabled 1: RemoveOnly 2:Disabled + TRACE_1("CBA_settingsInitialized EH",GVAR(convertItems)); // 0: Enabled 1: RemoveOnly { // turn [["stuff", 2], ...] into ["stuff", "stuff", ...] private _replacements = [];