diff --git a/addons/goggles/XEH_postInit.sqf b/addons/goggles/XEH_postInit.sqf index e5a6bf5d1c7..ab42e4754b8 100644 --- a/addons/goggles/XEH_postInit.sqf +++ b/addons/goggles/XEH_postInit.sqf @@ -90,8 +90,8 @@ if (!hasInterface) exitWith {}; // Register fire event handler ["ace_firedPlayer", LINKFUNC(handleFired)] call CBA_fnc_addEventHandler; - //Add Explosion XEH - ["CAManBase", "explosion", LINKFUNC(handleExplosion)] call CBA_fnc_addClassEventHandler; + // Add Explosion EH + [QGVAR(explosion), "Explosion", LINKFUNC(handleExplosion)] call CBA_fnc_addBISPlayerEventHandler; GVAR(PostProcessEyes) = ppEffectCreate ["ColorCorrections", 1992]; GVAR(PostProcessEyes) ppEffectAdjust [1, 1, 0, [0, 0, 0, 0], [0, 0, 0, 1], [1, 1, 1, 0]];