diff --git a/addons/medical/functions/fnc_actionCheckResponse.sqf b/addons/medical/functions/fnc_actionCheckResponse.sqf index 5f27e17f4e..5823e99fbb 100644 --- a/addons/medical/functions/fnc_actionCheckResponse.sqf +++ b/addons/medical/functions/fnc_actionCheckResponse.sqf @@ -20,11 +20,11 @@ _target = _this select 1; _output = ""; if ([_target] call EFUNC(common,isAwake)) then { - _output = ["STR_ACE_MEDICAL_CHECK_REPONSE_RESPONSIVE",[_target] call EFUNC(common,getName)]; + _output = "STR_ACE_MEDICAL_CHECK_REPONSE_RESPONSIVE"; } else { - _output = ["STR_ACE_MEDICAL_CHECK_REPONSE_UNRESPONSIVE",[_target] call EFUNC(common,getName)]; + _output = "STR_ACE_MEDICAL_CHECK_REPONSE_UNRESPONSIVE"; }; -["displayTextStructured", [_caller], [_output, 2, _caller]] call EFUNC(common,targetEvent); +["displayTextStructured", [_caller], [[_output, [_target] call EFUNC(common,getName)], 2, _caller]] call EFUNC(common,targetEvent); -[_target,"examine",_output] call FUNC(addToLog); +[_target,"examine",_output, [[_target] call EFUNC(common,getName)]] call FUNC(addToLog);