mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
[MIRROR] Makes GHOST_SIGHT not show messages from mobs that dont have a client to reduce chatspam (#849)
* Makes GHOST_SIGHT not show messages from mobs that dont have a client to reduce chatspam (#53707) * Makes GHOST_SIGHT not show messages from mobs that dont have a client to reduce chatspam Co-authored-by: Azarak <azarak10@gmail.com>
This commit is contained in:
@@ -68,7 +68,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 && user.client && (M.client.prefs.chat_toggles & CHAT_GHOSTSIGHT) && !(M in viewers(T, null)))
|
||||
M.show_message("[FOLLOW_LINK(M, user)] [dchatmsg]")
|
||||
|
||||
if(emote_type == EMOTE_AUDIBLE)
|
||||
|
||||
Reference in New Issue
Block a user