Make use of fnc_setUnconscious

This commit is contained in:
KoffeinFlummi 2015-03-11 18:08:29 +01:00
parent 8d22b61a2d
commit a641a5db8b

View File

@ -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;
};