Skip to content

Commit

Permalink
Mk6 Mortar - Remove unnecessary restart notifications (#10277)
Browse files Browse the repository at this point in the history
Remove unnecessary restart notification
  • Loading branch information
johnb432 authored Aug 30, 2024
1 parent f0ae2c5 commit f1b0703
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions addons/mk6mortar/initSettings.inc.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,41 @@
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)],
_category,
false, // default value
true, // isGlobal
1, // isGlobal
{[QGVAR(airResistanceEnabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
] call CBA_fnc_addSetting;

[
QGVAR(allowComputerRangefinder), "CHECKBOX",
QGVAR(allowComputerRangefinder),
"CHECKBOX",
[LSTRING(allowComputerRangefinder_DisplayName), LSTRING(allowComputerRangefinder_Description)],
_category,
true, // default value
true, // isGlobal
{[QGVAR(allowComputerRangefinder), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
1 // isGlobal
] call CBA_fnc_addSetting;

[
QGVAR(allowCompass), "CHECKBOX",
QGVAR(allowCompass),
"CHECKBOX",
[LSTRING(allowCompass_DisplayName), LSTRING(allowCompass_Description)],
_category,
true, // default value
true, // isGlobal
{[QGVAR(allowCompass), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
1 // isGlobal
] call CBA_fnc_addSetting;

[
QGVAR(useAmmoHandling), "CHECKBOX",
QGVAR(useAmmoHandling),
"CHECKBOX",
[LSTRING(useAmmoHandling_DisplayName), LSTRING(useAmmoHandling_Description)],
_category,
false, // default value
true, // isGlobal
1, // isGlobal
{[QGVAR(useAmmoHandling), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
] call CBA_fnc_addSetting;

0 comments on commit f1b0703

Please sign in to comment.