ACE3/addons/frag/XEH_postInit.sqf
PabstMirror 9c0478ddfd Cleanup
2015-06-18 22:04:48 -05:00

12 lines
324 B
Plaintext

#include "script_component.hpp"
if(GVAR(EnableDebugTrace) && !isMultiplayer) then {
GVAR(traceFrags) = true;
GVAR(autoTrace) = true;
};
if(isServer) then {
[QGVAR(frag_eh), { _this call FUNC(frago); }] call EFUNC(common,addEventHandler);
};
[FUNC(masterPFH), 0, []] call CBA_fnc_addPerFrameHandler;