From 7a8180989d8e0ede57d034eccfcb9dcac8e20bb1 Mon Sep 17 00:00:00 2001 From: Ccomp5950 Date: Sat, 26 Apr 2014 18:40:48 -0500 Subject: [PATCH] Ghosts with GHOSTRADIO on won't hear people talk into radios only the radio chatter. Unconscience folk will also not hear speech or radio. --- code/modules/mob/hear_say.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/hear_say.dm b/code/modules/mob/hear_say.dm index fc1aba35706..77e122d8cc0 100644 --- a/code/modules/mob/hear_say.dm +++ b/code/modules/mob/hear_say.dm @@ -4,7 +4,7 @@ if(!client) return - if(sleeping) + if(sleeping || stat == 1) hear_sleep(message) return @@ -30,6 +30,8 @@ var/track = null if(istype(src, /mob/dead/observer)) + if(italics && client.prefs.toggles & CHAT_GHOSTRADIO) + return if(speaker_name != speaker.real_name) speaker_name = "[speaker.real_name] ([speaker_name])" track = "(follow) " @@ -50,7 +52,7 @@ if(!client) return - if(sleeping) + if(sleeping || stat==1) //If unconscious or sleeping hear_sleep(message) return