Merge pull request #16648 from AffectedArc07/mutes-glob

Moves mutes to a GLOB
This commit is contained in:
Fox McCloud
2021-09-08 09:01:13 -04:00
committed by GitHub
20 changed files with 68 additions and 37 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
var/list/insultmsg = list("FUCK EVERYONE!", "I'M A TATER!", "ALL SECURITY TO SHOOT ME ON SIGHT!", "I HAVE A BOMB!", "CAPTAIN IS A COMDOM!", "FOR THE SYNDICATE!")
/obj/item/megaphone/attack_self(mob/living/user as mob)
if(user.client && (user.client.prefs.muted & MUTE_IC))
if(check_mute(user.ckey, MUTE_IC))
to_chat(src, "<span class='warning'>You cannot speak in IC (muted).</span>")
return
if(!ishuman(user))