From d76306bcaea69141834b2f255e5c9941bb076755 Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Sat, 14 Oct 2023 02:35:18 -0700 Subject: [PATCH] Update say_vr.dm --- code/modules/mob/say_vr.dm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/code/modules/mob/say_vr.dm b/code/modules/mob/say_vr.dm index 28045d65b526..9aaf1012af53 100644 --- a/code/modules/mob/say_vr.dm +++ b/code/modules/mob/say_vr.dm @@ -41,6 +41,7 @@ message = say_emphasis(message) SEND_SIGNAL(src, COMSIG_MOB_SUBTLE_EMOTE, src, message) + // todo: get hearers in view this var/list/vis = get_mobs_and_objs_in_view_fast(get_turf(src),1,2) //Turf, Range, and type 2 is emote var/list/vis_mobs = vis["mobs"] var/list/vis_objs = vis["objs"] @@ -58,10 +59,6 @@ spawn(0) O.see_emote(src, message, 2) - var/list/other_viewers = get_hearers_in_view(source = src) - for(var/mob/M in other_viewers - vis_mobs) - M.show_message(SPAN_SMALL("[src] does something [pick("subtly", "discreetly", "hidden", "obscured")]."), SAYCODE_TYPE_VISIBLE) - /mob/proc/emote_vr(var/act, var/type, var/message) //This would normally go in say.dm if(act == "me") return custom_emote_vr(type, message)