mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
fix observers seeing not inlined emotes in runechat
This commit is contained in:
@@ -70,8 +70,11 @@
|
||||
else
|
||||
to_follow = V.source
|
||||
var/link = FOLLOW_LINK(src, to_follow)
|
||||
var/is_custom_emote = message_mods[MODE_CUSTOM_SAY_ERASE_INPUT]
|
||||
// Create map text prior to modifying message for goonchat
|
||||
if (safe_read_pref(client, /datum/preference/toggle/enable_runechat) && (safe_read_pref(client, /datum/preference/toggle/enable_runechat_non_mobs) || ismob(speaker)))
|
||||
is_custom_emote ? create_chat_message(speaker, null, message_mods[MODE_CUSTOM_SAY_EMOTE], spans, EMOTE_MESSAGE) : create_chat_message(speaker, message_language, raw_message, spans)
|
||||
|
||||
create_chat_message(speaker, message_language, raw_message, spans)
|
||||
// Recompose the message, because it's scrambled by default
|
||||
var/message = compose_message(speaker, message_language, raw_message, radio_freq, radio_freq_name, radio_freq_color, spans, message_mods)
|
||||
|
||||
Reference in New Issue
Block a user