From ffcc01ef74feb50d67fd7c060badbf4f98482ee8 Mon Sep 17 00:00:00 2001 From: Glowbal Date: Fri, 3 Apr 2015 08:45:02 +0200 Subject: [PATCH] Removed rouge systemChat message on unconsciousness #292 --- addons/captives/functions/fnc_handleOnUnconscious.sqf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/addons/captives/functions/fnc_handleOnUnconscious.sqf b/addons/captives/functions/fnc_handleOnUnconscious.sqf index 9b73d34485..6d5ba1f47c 100644 --- a/addons/captives/functions/fnc_handleOnUnconscious.sqf +++ b/addons/captives/functions/fnc_handleOnUnconscious.sqf @@ -20,11 +20,9 @@ PARAMS_2(_unit,_isUnconc); if (!local _unit) exitWith {}; -systemChat format ["med: %1", _this]; - if (_isUnconc) then { //Knocked out: If surrendering, stop - if (_unit getVariable [QGVAR(isSurrendering), false]) then { + if (_unit getVariable [QGVAR(isSurrendering), false]) then { [_unit, false] call FUNC(setSurrendered); }; } else {