mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Made clear traces global again, added interaction condition
This commit is contained in:
parent
480d2df446
commit
d6c21e0cc4
@ -14,6 +14,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
#ifdef DEBUG_MODE_DRAW
|
#ifdef DEBUG_MODE_DRAW
|
||||||
|
[QGVAR(dev_clearTraces), LINKFUNC(dev_clearTraces)] call CBA_fnc_addEventHandler;
|
||||||
|
|
||||||
if (!hasInterface) exitWith {};
|
if (!hasInterface) exitWith {};
|
||||||
if (!isServer) then {
|
if (!isServer) then {
|
||||||
["ace_firedPlayer", LINKFUNC(dev_fired)] call CBA_fnc_addEventHandler;
|
["ace_firedPlayer", LINKFUNC(dev_fired)] call CBA_fnc_addEventHandler;
|
||||||
@ -34,9 +36,9 @@
|
|||||||
"Reset ACE Frag traces",
|
"Reset ACE Frag traces",
|
||||||
"",
|
"",
|
||||||
{
|
{
|
||||||
call FUNC(dev_clearTraces);
|
[QGVAR(dev_clearTraces), []] call CBA_fnc_globalEvent;
|
||||||
},
|
},
|
||||||
{true}
|
{GVAR(dev_trackLines) isNotEqualTo createHashMap}
|
||||||
] call EFUNC(interact_menu,createAction);
|
] call EFUNC(interact_menu,createAction);
|
||||||
[
|
[
|
||||||
_type,
|
_type,
|
||||||
|
@ -13,10 +13,7 @@ private _category = format ["ACE %1", LLSTRING(Module_DisplayName)];
|
|||||||
"CHECKBOX",
|
"CHECKBOX",
|
||||||
[LSTRING(HitSphereEnable), LSTRING(HitSphereEnable_Desc)],
|
[LSTRING(HitSphereEnable), LSTRING(HitSphereEnable_Desc)],
|
||||||
[_category, LSTRING(Debug)],
|
[_category, LSTRING(Debug)],
|
||||||
false,
|
false
|
||||||
0,
|
|
||||||
{},
|
|
||||||
true
|
|
||||||
] call CBA_fnc_addSetting;
|
] call CBA_fnc_addSetting;
|
||||||
|
|
||||||
[
|
[
|
||||||
|
Loading…
Reference in New Issue
Block a user