Update XEH_postInit.sqf

Moved event invocation to unloadItem, this provides ability to always pass object to eventhandlers.
This commit is contained in:
Lupus the Canine 2021-04-09 02:11:45 +02:00
parent 3af1fb50ab
commit 6ed6d08fbf

View File

@ -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;