From 732dbd315a5779601ca54bde0ac2eaeae1d4c1f1 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Fri, 5 Jun 2015 21:13:33 -0500 Subject: [PATCH] Tripod - use addToInventory --- addons/tripod/functions/fnc_pickup.sqf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/tripod/functions/fnc_pickup.sqf b/addons/tripod/functions/fnc_pickup.sqf index 44011e262a..f264eb1e2e 100644 --- a/addons/tripod/functions/fnc_pickup.sqf +++ b/addons/tripod/functions/fnc_pickup.sqf @@ -18,13 +18,13 @@ PARAMS_2(_tripod,_unit); if ((_unit call CBA_fnc_getUnitAnim) select 0 == "stand") then { - _unit playMove "AmovPercMstpSrasWrflDnon_diary"; + _unit playMove "AmovPercMstpSrasWrflDnon_diary"; }; [{ PARAMS_2(_tripod,_unit); - - _unit addItem "ACE_Tripod"; + + [_unit, "ACE_Tripod"] call EFUNC(common,addToInventory); deleteVehicle _tripod; - + }, [_tripod, _unit], 1, 0]call EFUNC(common,waitAndExecute);