diff --git a/addons/medical/functions/fnc_actionCarryUnit.sqf b/addons/medical/functions/fnc_actionCarryUnit.sqf index 3a71351ed2..1653c11027 100644 --- a/addons/medical/functions/fnc_actionCarryUnit.sqf +++ b/addons/medical/functions/fnc_actionCarryUnit.sqf @@ -24,7 +24,6 @@ if (!(_target isKindOf "CaManBase") || !(_caller isKindOf "CaManBase")) exitwith if (vehicle _caller != _caller || vehicle _target != _target) exitwith {}; if (!([_caller] call EFUNC(common,canInteract)) || {_caller == _target} || {(([_target] call EFUNC(common,isAwake)))}) exitwith {}; -_caller action ["WeaponOnBack", _caller]; if (!alive _target) exitwith { if (GVAR(allowDeadBodyMovement)) then { [{ diff --git a/addons/medical/functions/fnc_copyDeadBody.sqf b/addons/medical/functions/fnc_copyDeadBody.sqf index 96465cdbd3..710051e5ea 100644 --- a/addons/medical/functions/fnc_copyDeadBody.sqf +++ b/addons/medical/functions/fnc_copyDeadBody.sqf @@ -85,9 +85,10 @@ clearWeaponCargoGlobal (backpackContainer _newUnit); _newUnit selectWeapon (primaryWeapon _newUnit); -// TODO sometimes the old body does not get cleaned up properly. Look into garbage collection. +// TODO sometimes the old body does not get cleaned up properly. +// TODO Maybe it is better to hide the body, attach it as well, and remove the copy once we are done with it instead? deleteVehicle _oldBody; _newUnit setDamage 0.89; -_newUnit \ No newline at end of file +_newUnit;