From a641a5db8bf2ed0a6d5170216d05b1473d7bb129 Mon Sep 17 00:00:00 2001 From: KoffeinFlummi Date: Wed, 11 Mar 2015 18:08:29 +0100 Subject: [PATCH] Make use of fnc_setUnconscious --- addons/medical/functions/fnc_handleDamage_basic.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/medical/functions/fnc_handleDamage_basic.sqf b/addons/medical/functions/fnc_handleDamage_basic.sqf index de7647f245..d082a62a81 100644 --- a/addons/medical/functions/fnc_handleDamage_basic.sqf +++ b/addons/medical/functions/fnc_handleDamage_basic.sqf @@ -185,7 +185,7 @@ if (_selection == "" and )) then { // random chance to kill AI instead of knocking them out if (_unit getVariable [QGVAR(allowUnconscious), ([_unit] call EFUNC(common,isPlayer)) or random 1 > 0.5]) then { - hint "unconscious"; // @todo + [_unit, true] call FUNC(setUnconscious); } else { _damageReturn = 1; };