From e417ad2ec7ed4eef5190667655f1a06021845bf2 Mon Sep 17 00:00:00 2001 From: Spamcat Date: Mon, 18 Mar 2013 18:03:53 +0400 Subject: [PATCH] Fixed ghosts hearing whispers. --- code/modules/mob/living/carbon/human/whisper.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/whisper.dm b/code/modules/mob/living/carbon/human/whisper.dm index b844ae784a9..42cb5038f39 100644 --- a/code/modules/mob/living/carbon/human/whisper.dm +++ b/code/modules/mob/living/carbon/human/whisper.dm @@ -140,5 +140,5 @@ for (var/mob/M in dead_mob_list) if (!(M.client)) continue - if (M.stat > 1 && !(M in heard_a)) + if (M.stat > 1 && !(M in heard_a) && (M.client.prefs.toggles & CHAT_GHOSTEARS)) M.show_message(rendered, 2)