Medical - carryObj func moved

This commit is contained in:
PabstMirror 2015-03-26 15:05:50 -05:00
parent 9fcb193064
commit 3f137d357d

View File

@ -29,7 +29,9 @@ if (!local _unit) exitwith {
};
// Get rid of the object we are carrying, before we go unconscious.
[_unit, ObjNull, [0,0,0]] call EFUNC(common,carryObj);
if (!isNil QEFUNC(dragging,carryObj)) then {
[_unit, ObjNull, [0,0,0]] call EFUNC(dragging,carryObj);
};
// Set the unit in the unconscious state.
_unit setvariable ["ACE_isUnconscious", true, true];