mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Medical - carryObj func moved
This commit is contained in:
parent
9fcb193064
commit
3f137d357d
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user