From a5d047cdc85e5e1da4b1b6aef4978dd74ddae773 Mon Sep 17 00:00:00 2001 From: johnb432 <58661205+johnb432@users.noreply.github.com> Date: Wed, 28 Aug 2024 05:29:27 -0700 Subject: [PATCH] Update addons/dragging/functions/fnc_canCarry.sqf Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com> --- addons/dragging/functions/fnc_canCarry.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/dragging/functions/fnc_canCarry.sqf b/addons/dragging/functions/fnc_canCarry.sqf index 64511fe410..c99e2802e6 100644 --- a/addons/dragging/functions/fnc_canCarry.sqf +++ b/addons/dragging/functions/fnc_canCarry.sqf @@ -33,7 +33,7 @@ if ((_unit getHitPointDamage "HitLegs") >= 0.5) exitWith {false}; if (_isPerson) exitWith { !_alive || {(isAwake _target) && // not ragdolled if alive - {!(lifeState _target in ["HEALTHY", "INJURED"]) || + {!(_target call EFUNC(common,isAwake)) || {_target getHitPointDamage "HitLegs" >= 0.5}}} };