From 8224546cfca20013dbcaef1ce827c6927ebb6953 Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Sun, 13 Jun 2021 15:36:20 -0700 Subject: [PATCH] ok --- code/modules/mob/living/say.dm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/say.dm b/code/modules/mob/living/say.dm index 84c2bf9e66..1a925e8eaf 100644 --- a/code/modules/mob/living/say.dm +++ b/code/modules/mob/living/say.dm @@ -315,10 +315,19 @@ GLOBAL_LIST_INIT(department_radio_keys, list( return last_yell = world.time var/list/overhearing = list() + var/list/overhearing_text = list() overhearing = yelling_wavefill(src, yell_power) - log_say("YELL: [ismob(src)? key_name(src) : src] yelled [message] with overhearing mobs [overhearing]") + if(!overhearing.len) + overhearing_text = "none" + else + for(var/mob/M as anything in overhearing) + overhearing_text += key_name(M) + overhearing_text = english_list(overhearing_text) + log_say("YELL: [ismob(src)? key_name(src) : src] yelled [message] with overhearing mobs [overhearing_text]") // overhearing = get_hearers_in_view(35, src) | get_hearers_in_range(5, src) overhearing -= already_heard + if(!overhearing.len) + return // to_chat(world, "DEBUG: overhearing [english_list(overhearing)]") for(var/_AM in overhearing) var/atom/movable/AM = _AM