Skip to content

Commit

Permalink
Possible fix for function call
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom authored Aug 13, 2024
1 parent 4caae4f commit 75547ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cScripts/functions/modules/fn_zenModule_callEndex.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ params ["_modulePos", "_objectPos"];
};
};
if (!isNil{GETVAR(_unit,EGVAR(Endex,EventsAdded),nil)}) then {
[player, "fired", {_this call _fn_handleDischarge}] call CBA_fnc_addBISEventHandler;
["ace_firedPlayer", {_this call _fn_handleDischarge}] call CBA_fnc_addEventHandler;
["ace_firedPlayerVehicle", {_this call _fn_handleDischarge}] call CBA_fnc_addEventHandler;
[player, "fired", {_this call _thisArgs#0}, [_fn_handleDischarge]] call CBA_fnc_addBISEventHandler;
["ace_firedPlayer", {_this call _thisArgs#0}] call CBA_fnc_addEventHandler;
["ace_firedPlayerVehicle", {_this call _thisArgs#0}] call CBA_fnc_addEventHandler;
SETVAR(_unit,EGVAR(Endex,EventsAdded),true);
};
} remoteExecCall ["bis_fnc_call", 0];
Expand Down

0 comments on commit 75547ce

Please sign in to comment.