From fa870a3ccddc52d8ed5a60a05c7a8c4c5d593c17 Mon Sep 17 00:00:00 2001 From: Steve Zhao Date: Tue, 20 Apr 2021 05:59:11 -0400 Subject: [PATCH] Medical - Allow unconscious unit in Taru pods (#8168) Co-authored-by: Filip Maciejewski --- addons/medical_engine/functions/fnc_setUnconsciousAnim.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/medical_engine/functions/fnc_setUnconsciousAnim.sqf b/addons/medical_engine/functions/fnc_setUnconsciousAnim.sqf index 27ed364bf5..f71c550add 100644 --- a/addons/medical_engine/functions/fnc_setUnconsciousAnim.sqf +++ b/addons/medical_engine/functions/fnc_setUnconsciousAnim.sqf @@ -27,7 +27,7 @@ _unit setUnconscious _isUnconscious; if (_isUnconscious) then { // eject from static weapon - if (vehicle _unit isKindOf "StaticWeapon") then { + if (vehicle _unit isKindOf "StaticWeapon" && {!(vehicle _unit isKindOf "Pod_Heli_Transport_04_crewed_base_F")}) then { TRACE_2("ejecting from static weapon",_unit,vehicle _unit); [_unit] call EFUNC(common,unloadPerson); };