From 270d0396ef0813d1fcf801ef7c7b73bb0f87cb63 Mon Sep 17 00:00:00 2001 From: Vdauphin Date: Sat, 19 Nov 2016 15:23:40 +0100 Subject: [PATCH] FIX: sometimes when ACE3 FRIES is activate you can't lift --- =BTC=co@30_Hearts_and_Minds.Altis/core/fnc/log/lift_hud.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/log/lift_hud.sqf b/=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/log/lift_hud.sqf index 3f1ba3315..ab03b67ec 100644 --- a/=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/log/lift_hud.sqf +++ b/=BTC=co@30_Hearts_and_Minds.Altis/core/fnc/log/lift_hud.sqf @@ -25,7 +25,7 @@ while {(Alive player && vehicle player != player) && btc_log_hud} do { _cargo_array = nearestObjects [_chopper, _array, 30]; if (count _array == 0) then {_cargo_array = [];}; _cargo_array = _cargo_array - [_chopper]; - if (count _cargo_array > 0 && (typeOf (_cargo_array select 0)) isEqualTo "ACE_friesAnchorBar") then {_cargo_array deleteAt 0;}; + if (count _cargo_array > 0 && ((_cargo_array select 0) isKindOf "ACE_friesGantry") OR (typeof (_cargo_array select 0) isEqualTo "ACE_friesAnchorBar")) then {_cargo_array deleteAt 0;}; if (count _cargo_array > 0) then {_cargo = _cargo_array select 0;} else {_cargo = objNull;}; if (({_cargo isKindOf _x} count _array) > 0) then {_can_lift = true;} else {_can_lift = false;}; if (!isNull _cargo) then {