Update addons/dragging/functions/fnc_canCarry.sqf

Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
This commit is contained in:
johnb432 2024-08-28 05:29:27 -07:00 committed by GitHub
parent 78adfdf1ba
commit a5d047cdc8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ if ((_unit getHitPointDamage "HitLegs") >= 0.5) exitWith {false};
if (_isPerson) exitWith { if (_isPerson) exitWith {
!_alive || !_alive ||
{(isAwake _target) && // not ragdolled if alive {(isAwake _target) && // not ragdolled if alive
{!(lifeState _target in ["HEALTHY", "INJURED"]) || {!(_target call EFUNC(common,isAwake)) ||
{_target getHitPointDamage "HitLegs" >= 0.5}}} {_target getHitPointDamage "HitLegs" >= 0.5}}}
}; };