Update fnc_paradropItem.sqf

apply new fix
This commit is contained in:
Lupus the Canine 2021-04-09 16:39:40 +02:00
parent 0dd075f2bf
commit 3db5cc1910

View File

@ -48,8 +48,8 @@ if (_item isEqualType objNull) then {
_object = createVehicle [_item, _posBehindVehicleAGL, [], 0, "NONE"];
_object setPosASL (AGLtoASL _posBehindVehicleAGL);
};
_object setVelocity ((velocity _vehicle) vectorAdd ((vectorNormalized (vectorDir _vehicle)) vectorMultiply -5));
private _velocity((velocity _vehicle) vectorAdd ((vectorNormalized (vectorDir _vehicle)) vectorMultiply -5));
[QEGVAR(common,setVelocity), [_object, _velocity],_object] call CBA_fnc_targetEvent;
// open parachute and ir light effect
[{