mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Pass functions by "reference" to bis event handlers (#4898)
* Pass functions by "reference" to bis event handlers * Add Doc * Fix
This commit is contained in:
@ -77,5 +77,5 @@ GVAR(greenLaserUnits) = [];
|
||||
_unit call _fnc_processUnit;
|
||||
}, 0.1, _fnc_processUnit] call CBA_fnc_addPerFrameHandler;
|
||||
|
||||
addMissionEventHandler ["Draw3D", FUNC(onDraw)];
|
||||
addMissionEventHandler ["Draw3D", {call FUNC(onDraw)}];
|
||||
}] call CBA_fnc_addEventHandler;
|
||||
|
Reference in New Issue
Block a user