Update addons/cargo/functions/fnc_paradropItem.sqf

This commit is contained in:
johnb432 2024-07-18 16:54:28 +02:00 committed by GitHub
parent 61883dac06
commit 92e00ca4cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,7 +68,7 @@ private _object = [_item, _vehicle, _posBehindVehicleAGL, false] call FUNC(unloa
// Prevent collision damage
[QEGVAR(common,fixCollision), _parachute] call CBA_fnc_localEvent;
[QEGVAR(common,fixCollision), _object] call CBA_fnc_localEvent;
[QEGVAR(common,fixCollision), _object, _object] call CBA_fnc_targetEvent;
// Cannot use setPos on parachutes without them closing down
_parachute attachTo [_object, [0, 0, 0]];