Skip to content

Commit

Permalink
Medical - Allow unconscious unit in Taru pods (acemod#8168)
Browse files Browse the repository at this point in the history
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
  • Loading branch information
2 people authored and PabstMirror committed May 23, 2021
1 parent 517b576 commit fa870a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/medical_engine/functions/fnc_setUnconsciousAnim.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
Expand Down

0 comments on commit fa870a3

Please sign in to comment.