Remove unnecessary restart notification

This commit is contained in:
johnb432 2024-08-30 18:12:34 +02:00
parent d56a3a6a95
commit 2aa9df1ece

View File

@ -3,41 +3,41 @@
private _category = [format ["ACE %1", localize "str_a3_cfgmarkers_nato_art"], localize LSTRING(DisplayName)]; private _category = [format ["ACE %1", localize "str_a3_cfgmarkers_nato_art"], localize LSTRING(DisplayName)];
[ [
QGVAR(airResistanceEnabled), "CHECKBOX", QGVAR(airResistanceEnabled),
"CHECKBOX",
[LSTRING(airResistanceEnabled_DisplayName), LSTRING(airResistanceEnabled_Description)], [LSTRING(airResistanceEnabled_DisplayName), LSTRING(airResistanceEnabled_Description)],
_category, _category,
false, // default value false, // default value
true, // isGlobal 1, // isGlobal
{[QGVAR(airResistanceEnabled), _this] call EFUNC(common,cbaSettings_settingChanged)}, {[QGVAR(airResistanceEnabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart true // Needs mission restart
] call CBA_fnc_addSetting; ] call CBA_fnc_addSetting;
[ [
QGVAR(allowComputerRangefinder), "CHECKBOX", QGVAR(allowComputerRangefinder),
"CHECKBOX",
[LSTRING(allowComputerRangefinder_DisplayName), LSTRING(allowComputerRangefinder_Description)], [LSTRING(allowComputerRangefinder_DisplayName), LSTRING(allowComputerRangefinder_Description)],
_category, _category,
true, // default value true, // default value
true, // isGlobal 1 // isGlobal
{[QGVAR(allowComputerRangefinder), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
] call CBA_fnc_addSetting; ] call CBA_fnc_addSetting;
[ [
QGVAR(allowCompass), "CHECKBOX", QGVAR(allowCompass),
"CHECKBOX",
[LSTRING(allowCompass_DisplayName), LSTRING(allowCompass_Description)], [LSTRING(allowCompass_DisplayName), LSTRING(allowCompass_Description)],
_category, _category,
true, // default value true, // default value
true, // isGlobal 1 // isGlobal
{[QGVAR(allowCompass), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
] call CBA_fnc_addSetting; ] call CBA_fnc_addSetting;
[ [
QGVAR(useAmmoHandling), "CHECKBOX", QGVAR(useAmmoHandling),
"CHECKBOX",
[LSTRING(useAmmoHandling_DisplayName), LSTRING(useAmmoHandling_Description)], [LSTRING(useAmmoHandling_DisplayName), LSTRING(useAmmoHandling_Description)],
_category, _category,
false, // default value false, // default value
true, // isGlobal 1, // isGlobal
{[QGVAR(useAmmoHandling), _this] call EFUNC(common,cbaSettings_settingChanged)}, {[QGVAR(useAmmoHandling), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart true // Needs mission restart
] call CBA_fnc_addSetting; ] call CBA_fnc_addSetting;