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,7 +14,8 @@
|
||||
_source say3D _scream;
|
||||
}] call CBA_fnc_addEventHandler;
|
||||
|
||||
if (isServer) then {
|
||||
if (!isServer) exitWith {};
|
||||
|
||||
["CBA_settingsInitialized", {
|
||||
TRACE_1("settingsInit",GVAR(enabled));
|
||||
|
||||
@ -87,4 +88,3 @@ if (isServer) then {
|
||||
|
||||
[LINKFUNC(fireManagerPFH), FIRE_MANAGER_PFH_DELAY, []] call CBA_fnc_addPerFrameHandler;
|
||||
}] call CBA_fnc_addEventHandler;
|
||||
};
|
||||
|
@ -1,5 +1,6 @@
|
||||
[
|
||||
QGVAR(enabled), "CHECKBOX",
|
||||
QGVAR(enabled),
|
||||
"CHECKBOX",
|
||||
[ELSTRING(common,Enabled), LSTRING(Setting_Description)],
|
||||
LSTRING(Category_DisplayName),
|
||||
true,
|
||||
@ -9,17 +10,18 @@
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(enableFlare), "CHECKBOX",
|
||||
QGVAR(enableFlare),
|
||||
"CHECKBOX",
|
||||
[LSTRING(Setting_FlareEnable), LSTRING(Setting_FlareDescription)],
|
||||
LSTRING(Category_DisplayName),
|
||||
false,
|
||||
1,
|
||||
{[QGVAR(flareEnabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
||||
true
|
||||
{[QGVAR(flareEnabled), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(dropWeapon), "LIST",
|
||||
QGVAR(dropWeapon),
|
||||
"LIST",
|
||||
[LSTRING(Setting_DropWeapon), LSTRING(Setting_DropWeapon_Description)],
|
||||
LSTRING(Category_DisplayName),
|
||||
[
|
||||
@ -31,7 +33,8 @@
|
||||
] call CBA_fnc_addSetting;
|
||||
|
||||
[
|
||||
QGVAR(enableScreams), "CHECKBOX",
|
||||
QGVAR(enableScreams),
|
||||
"CHECKBOX",
|
||||
[LSTRING(Setting_EnableScreams), LSTRING(Setting_EnableScreams_Description)],
|
||||
LSTRING(Category_DisplayName),
|
||||
true
|
||||
|
Loading…
Reference in New Issue
Block a user