From 68b983acc7cb730a4402b4052480f63490d3f522 Mon Sep 17 00:00:00 2001 From: Archie Date: Sun, 23 May 2021 16:37:26 -0300 Subject: [PATCH] Fixes simple mob emote spam --- code/datums/emotes.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/emotes.dm b/code/datums/emotes.dm index fab8dff2..fe3456f2 100644 --- a/code/datums/emotes.dm +++ b/code/datums/emotes.dm @@ -64,7 +64,7 @@ if(!M.client || isnewplayer(M)) continue var/T = get_turf(user) - if(M.stat == DEAD && M.client && (M.client.prefs.chat_toggles & CHAT_GHOSTSIGHT) && !(M in viewers(T, null))) + if(M.stat == DEAD && M.client && (M.client.prefs.chat_toggles & CHAT_GHOSTSIGHT) && !(M in viewers(T, null)) && (user.client)) //SKYRAT CHANGE - only user controlled mobs show their emotes to all-seeing ghosts, to reduce chat spam M.show_message(msg) if(emote_type == EMOTE_AUDIBLE)