mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 15:01:04 +01:00
Fix messages not being bolded for nearby ghosts if the speaker is inside a location (held pAIs, inside exosuits, etc) (#18848)
Title. Performance concerns here, since this is called for each observer each time a message is sent. Not sure if get_area or get_turf is more performant. May not be worth it if it effects performance.
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
if(speaker_name != speaker.real_name && speaker.real_name)
|
||||
speaker_name = "[speaker.real_name] ([speaker_name])"
|
||||
track = "[ghost_follow_link(speaker, src)] "
|
||||
if((client.prefs.toggles & CHAT_GHOSTEARS) && (speaker in view(src)))
|
||||
if((client.prefs.toggles & CHAT_GHOSTEARS) && (get_turf(speaker) in view(src)))
|
||||
message = "<b>[message]</b>"
|
||||
|
||||
if(isdeaf(src))
|
||||
|
||||
Reference in New Issue
Block a user