mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Cargo - Prevent damage to items (created from classnames) on unloading (#8324)
This commit is contained in:
parent
35290a1a10
commit
489fab4cb8
@ -56,6 +56,9 @@ if (_object isEqualType objNull) then {
|
||||
} else {
|
||||
_object = createVehicle [_item, _emptyPosAGL, [], 0, "NONE"];
|
||||
_object setPosASL (AGLtoASL _emptyPosAGL);
|
||||
|
||||
[QEGVAR(common,fixCollision), _object] call CBA_fnc_localEvent;
|
||||
[QEGVAR(common,fixPosition), _object] call CBA_fnc_localEvent;
|
||||
};
|
||||
// Invoke listenable event
|
||||
["ace_cargoUnloaded", [_object, _vehicle, "unload"]] call CBA_fnc_globalEvent;
|
||||
|
Loading…
Reference in New Issue
Block a user