Skip to content

Commit

Permalink
Goggles - Use CBA_fnc_addBISPlayerEventHandler (#10650)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb432 authored Jan 13, 2025
1 parent 77248d7 commit 74a7bbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/goggles/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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]];
Expand Down

0 comments on commit 74a7bbb

Please sign in to comment.