mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Various - Fix setting var name (#8528)
* Scopes - Fix var name * fix 2.5 more settings
This commit is contained in:
parent
93b7722716
commit
d46d59695f
@ -1,7 +1,4 @@
|
||||
class ACE_Settings {
|
||||
class GVAR(movableMarkersEnabled) {
|
||||
movedToSQF = 1;
|
||||
};
|
||||
class GVAR(moveRestriction) {
|
||||
movedToSQF = 1;
|
||||
};
|
||||
|
@ -64,6 +64,14 @@ private _category = format ["ACE %1", localize LSTRING(DisplayName)];
|
||||
1
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(deduceBarometricPressureFromTerrainAltitude), "CHECKBOX",
|
||||
[LSTRING(deduceBarometricPressureFromTerrainAltitude_displayName), LSTRING(deduceBarometricPressureFromTerrainAltitude_description)],
|
||||
_category,
|
||||
false,
|
||||
1
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(useLegacyUI), "CHECKBOX",
|
||||
[LSTRING(useLegacyUI_displayName), LSTRING(useLegacyUI_description)],
|
||||
@ -73,7 +81,7 @@ private _category = format ["ACE %1", localize LSTRING(DisplayName)];
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(simplifedZeroing), "CHECKBOX",
|
||||
QGVAR(simplifiedZeroing), "CHECKBOX",
|
||||
[LSTRING(simplifiedZeroing_displayName), LSTRING(simplifiedZeroing_description)],
|
||||
_category,
|
||||
false,
|
||||
|
@ -1,10 +1,10 @@
|
||||
[
|
||||
QXGVAR(enabled),
|
||||
QXGVAR(enable),
|
||||
"CHECKBOX",
|
||||
[LSTRING(Enable), LSTRING(ModuleDescription)],
|
||||
format ["ACE %1", LLSTRING(ModuleDisplayName)],
|
||||
true,
|
||||
true,
|
||||
{[QGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
{[QGVAR(enable), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true
|
||||
] call CBA_fnc_addSetting;
|
||||
|
Loading…
Reference in New Issue
Block a user