mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Makes messages said on screen bold for ghosts.
This commit is contained in:
@@ -29,4 +29,7 @@
|
||||
/mob/dead/observer/Hear(message, atom/movable/speaker, message_langs, raw_message, radio_freq)
|
||||
if(radio_freq)
|
||||
speaker = speaker.GetSource()
|
||||
src << "<a href='?src=\ref[src];follow=\ref[speaker]'>(Follow)</a> [message]"
|
||||
if(get_dist(speaker, src) <= world.view) // if this isn't true, we can't be in view, so no need for costlier proc
|
||||
if(speaker in view(src))
|
||||
message = "<b>[message]</b>"
|
||||
src << "<a href='?src=\ref[src];follow=\ref[speaker]'>(Follow)</a> [message]"
|
||||
|
||||
Reference in New Issue
Block a user