Various - Fix setting var name (#8528)

* Scopes - Fix var name

* fix 2.5 more settings
This commit is contained in:
PabstMirror 2021-10-15 19:08:42 -05:00 committed by GitHub
parent 93b7722716
commit d46d59695f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 6 deletions

View File

@ -1,7 +1,4 @@
class ACE_Settings { class ACE_Settings {
class GVAR(movableMarkersEnabled) {
movedToSQF = 1;
};
class GVAR(moveRestriction) { class GVAR(moveRestriction) {
movedToSQF = 1; movedToSQF = 1;
}; };

View File

@ -64,6 +64,14 @@ private _category = format ["ACE %1", localize LSTRING(DisplayName)];
1 1
] call CBA_fnc_addSetting; ] call CBA_fnc_addSetting;
[
QGVAR(deduceBarometricPressureFromTerrainAltitude), "CHECKBOX",
[LSTRING(deduceBarometricPressureFromTerrainAltitude_displayName), LSTRING(deduceBarometricPressureFromTerrainAltitude_description)],
_category,
false,
1
] call CBA_fnc_addSetting;
[ [
QGVAR(useLegacyUI), "CHECKBOX", QGVAR(useLegacyUI), "CHECKBOX",
[LSTRING(useLegacyUI_displayName), LSTRING(useLegacyUI_description)], [LSTRING(useLegacyUI_displayName), LSTRING(useLegacyUI_description)],
@ -73,7 +81,7 @@ private _category = format ["ACE %1", localize LSTRING(DisplayName)];
] call CBA_fnc_addSetting; ] call CBA_fnc_addSetting;
[ [
QGVAR(simplifedZeroing), "CHECKBOX", QGVAR(simplifiedZeroing), "CHECKBOX",
[LSTRING(simplifiedZeroing_displayName), LSTRING(simplifiedZeroing_description)], [LSTRING(simplifiedZeroing_displayName), LSTRING(simplifiedZeroing_description)],
_category, _category,
false, false,

View File

@ -1,10 +1,10 @@
[ [
QXGVAR(enabled), QXGVAR(enable),
"CHECKBOX", "CHECKBOX",
[LSTRING(Enable), LSTRING(ModuleDescription)], [LSTRING(Enable), LSTRING(ModuleDescription)],
format ["ACE %1", LLSTRING(ModuleDisplayName)], format ["ACE %1", LLSTRING(ModuleDisplayName)],
true, true,
true, true,
{[QGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged)}, {[QGVAR(enable), _this] call EFUNC(common,cbaSettings_settingChanged)},
true true
] call CBA_fnc_addSetting; ] call CBA_fnc_addSetting;