From 7f9043897cce00a7178de76494f6743793dcf8cb Mon Sep 17 00:00:00 2001 From: Glowbal Date: Sat, 4 Apr 2015 22:50:38 +0200 Subject: [PATCH] wake up by epinephrine in revive state --- addons/medical/functions/fnc_treatmentBasic_epipen.sqf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addons/medical/functions/fnc_treatmentBasic_epipen.sqf b/addons/medical/functions/fnc_treatmentBasic_epipen.sqf index 644e98c390..ead2bf9d52 100644 --- a/addons/medical/functions/fnc_treatmentBasic_epipen.sqf +++ b/addons/medical/functions/fnc_treatmentBasic_epipen.sqf @@ -22,3 +22,7 @@ _target = _this select 1; _className = _this select 3; [_target, false] call FUNC(setUnconscious); + +if (_target getvariable [QGVAR(inReviveState), false]) then { + _target setvariable [QGVAR(inReviveState), nil, true]; +};