diff --git a/code/modules/mob/say.dm b/code/modules/mob/say.dm index 567152b9157..5a5d1d4aa2f 100644 --- a/code/modules/mob/say.dm +++ b/code/modules/mob/say.dm @@ -57,7 +57,7 @@ if(M.client && M.client.holder && (M.client.holder.rights & R_ADMIN|R_MOD) && (M.client.prefs.toggles & CHAT_DEAD)) // Show the message to admins/mods with deadchat toggled on M << rendered //Admins can hear deadchat, if they choose to, no matter if they're blind/deaf or not. - else if(M.stat == DEAD && (M.client.prefs.toggles & CHAT_DEAD)) // Show the message to regular ghosts with deadchat toggled on. + else if(M.client && M.stat == DEAD && (M.client.prefs.toggles & CHAT_DEAD)) // Show the message to regular ghosts with deadchat toggled on. M.show_message(rendered, 2) //Takes into account blindness and such. return