From 0e33ca9be7f9af81407c55395f9f6fda8d553aa9 Mon Sep 17 00:00:00 2001 From: hal9000PR <69320440+hal9000PR@users.noreply.github.com> Date: Fri, 15 Oct 2021 10:49:46 +0100 Subject: [PATCH] Prevents mentors speaking in deadchat when deadchat is muted (#16944) * nerfs mentors * affected's suggestion Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> --- code/modules/mob/say.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/say.dm b/code/modules/mob/say.dm index 10d56a99dc0..86e3a44aa8a 100644 --- a/code/modules/mob/say.dm +++ b/code/modules/mob/say.dm @@ -46,7 +46,7 @@ /mob/proc/say_dead(message) if(client) - if(!client.holder) + if(!check_rights(R_ADMIN, FALSE)) if(!GLOB.dsay_enabled) to_chat(src, "Deadchat is globally muted.") return