mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Minor cleanup
This commit is contained in:
parent
b5dfe0a346
commit
70b21f6cec
@ -14,8 +14,9 @@
|
|||||||
_source say3D _scream;
|
_source say3D _scream;
|
||||||
}] call CBA_fnc_addEventHandler;
|
}] call CBA_fnc_addEventHandler;
|
||||||
|
|
||||||
if (isServer) then {
|
if (!isServer) exitWith {};
|
||||||
["CBA_settingsInitialized", {
|
|
||||||
|
["CBA_settingsInitialized", {
|
||||||
TRACE_1("settingsInit",GVAR(enabled));
|
TRACE_1("settingsInit",GVAR(enabled));
|
||||||
|
|
||||||
if (!GVAR(enabled)) exitWith {};
|
if (!GVAR(enabled)) exitWith {};
|
||||||
@ -86,5 +87,4 @@ if (isServer) then {
|
|||||||
}] call CBA_fnc_addEventHandler;
|
}] call CBA_fnc_addEventHandler;
|
||||||
|
|
||||||
[LINKFUNC(fireManagerPFH), FIRE_MANAGER_PFH_DELAY, []] call CBA_fnc_addPerFrameHandler;
|
[LINKFUNC(fireManagerPFH), FIRE_MANAGER_PFH_DELAY, []] call CBA_fnc_addPerFrameHandler;
|
||||||
}] call CBA_fnc_addEventHandler;
|
}] call CBA_fnc_addEventHandler;
|
||||||
};
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
[
|
[
|
||||||
QGVAR(enabled), "CHECKBOX",
|
QGVAR(enabled),
|
||||||
|
"CHECKBOX",
|
||||||
[ELSTRING(common,Enabled), LSTRING(Setting_Description)],
|
[ELSTRING(common,Enabled), LSTRING(Setting_Description)],
|
||||||
LSTRING(Category_DisplayName),
|
LSTRING(Category_DisplayName),
|
||||||
true,
|
true,
|
||||||
@ -9,17 +10,18 @@
|
|||||||
] call CBA_fnc_addSetting;
|
] call CBA_fnc_addSetting;
|
||||||
|
|
||||||
[
|
[
|
||||||
QGVAR(enableFlare), "CHECKBOX",
|
QGVAR(enableFlare),
|
||||||
|
"CHECKBOX",
|
||||||
[LSTRING(Setting_FlareEnable), LSTRING(Setting_FlareDescription)],
|
[LSTRING(Setting_FlareEnable), LSTRING(Setting_FlareDescription)],
|
||||||
LSTRING(Category_DisplayName),
|
LSTRING(Category_DisplayName),
|
||||||
false,
|
false,
|
||||||
1,
|
1,
|
||||||
{[QGVAR(flareEnabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
{[QGVAR(flareEnabled), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||||
true
|
|
||||||
] call CBA_fnc_addSetting;
|
] call CBA_fnc_addSetting;
|
||||||
|
|
||||||
[
|
[
|
||||||
QGVAR(dropWeapon), "LIST",
|
QGVAR(dropWeapon),
|
||||||
|
"LIST",
|
||||||
[LSTRING(Setting_DropWeapon), LSTRING(Setting_DropWeapon_Description)],
|
[LSTRING(Setting_DropWeapon), LSTRING(Setting_DropWeapon_Description)],
|
||||||
LSTRING(Category_DisplayName),
|
LSTRING(Category_DisplayName),
|
||||||
[
|
[
|
||||||
@ -31,7 +33,8 @@
|
|||||||
] call CBA_fnc_addSetting;
|
] call CBA_fnc_addSetting;
|
||||||
|
|
||||||
[
|
[
|
||||||
QGVAR(enableScreams), "CHECKBOX",
|
QGVAR(enableScreams),
|
||||||
|
"CHECKBOX",
|
||||||
[LSTRING(Setting_EnableScreams), LSTRING(Setting_EnableScreams_Description)],
|
[LSTRING(Setting_EnableScreams), LSTRING(Setting_EnableScreams_Description)],
|
||||||
LSTRING(Category_DisplayName),
|
LSTRING(Category_DisplayName),
|
||||||
true
|
true
|
||||||
|
Loading…
Reference in New Issue
Block a user