Minor tweaks

This commit is contained in:
johnb432 2024-07-14 11:10:53 +02:00
parent 77e55021d0
commit b7d1bc5bb6
2 changed files with 3 additions and 4 deletions

View File

@ -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;

View File

@ -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 = [];