mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Medical - Allow unconscious unit in Taru pods (#8168)
Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
This commit is contained in:
parent
517b576193
commit
fa870a3ccd
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user