ACE3/addons/frag/XEH_postInit.sqf

12 lines
324 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
2015-04-26 21:05:58 +00:00
if(GVAR(EnableDebugTrace) && !isMultiplayer) then {
GVAR(traceFrags) = true;
GVAR(autoTrace) = true;
};
if(isServer) then {
2015-06-19 03:04:48 +00:00
[QGVAR(frag_eh), { _this call FUNC(frago); }] call EFUNC(common,addEventHandler);
};
[FUNC(masterPFH), 0, []] call CBA_fnc_addPerFrameHandler;