mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 05:23:22 +01:00
Allows ghosts to see visible_messages. (#8806)
Allows ghosts to see visible_messages
This commit is contained in:
@@ -124,11 +124,13 @@
|
||||
continue
|
||||
if (!M.client || istype(M, /mob/abstract/new_player))
|
||||
continue
|
||||
if(get_turf(M) in messageturfs)
|
||||
if((get_turf(M) in messageturfs) || (isobserver(M) && (M.client.prefs.toggles & CHAT_GHOSTSIGHT)))
|
||||
messagemobs += M
|
||||
|
||||
for(var/A in messagemobs)
|
||||
var/mob/M = A
|
||||
if(isobserver(M))
|
||||
M.show_message("[ghost_follow_link(src, M)] [message]", 1)
|
||||
if(self_message && M==src)
|
||||
M.show_message(self_message, 1, blind_message, 2)
|
||||
else if(M.see_invisible < invisibility) // Cannot view the invisible, but you can hear it.
|
||||
|
||||
Reference in New Issue
Block a user