mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update XEH_postInit.sqf
Moved event invocation to unloadItem, this provides ability to always pass object to eventhandlers.
This commit is contained in:
parent
3af1fb50ab
commit
6ed6d08fbf
@ -37,10 +37,6 @@
|
||||
|
||||
[[_hint, _itemName, _vehicleName], 3.0] call EFUNC(common,displayTextStructured);
|
||||
|
||||
if (_unloaded) then {
|
||||
// Invoke listenable event
|
||||
["ace_cargoUnloaded", [_item, _vehicle]] call CBA_fnc_globalEvent;
|
||||
};
|
||||
|
||||
// TOOO maybe drag/carry the unloaded item?
|
||||
}] call CBA_fnc_addEventHandler;
|
||||
|
Loading…
Reference in New Issue
Block a user