mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fixes #656
This commit is contained in:
parent
c86be12668
commit
8b7e46c45f
@ -91,6 +91,12 @@ _startingTime = time;
|
||||
_hasMovedOut = _args select 5;
|
||||
|
||||
if (!alive _unit) exitwith {
|
||||
[_unit, QGVAR(unconscious), false] call EFUNC(common,setCaptivityStatus);
|
||||
[_unit, false] call EFUNC(common,disableAI);
|
||||
_unit setUnitPos _originalPos;
|
||||
_unit setUnconscious false;
|
||||
["medical_onUnconscious", [_unit, false]] call EFUNC(common,globalEvent);
|
||||
|
||||
[(_this select 1)] call cba_fnc_removePerFrameHandler;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user