mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Quieter radio emotes (#18103)
* Fix Radio Emotes Fixes #14748 * Make emotes audible Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
co-authored by
Luc
parent
09e7f54a43
commit
e291a8c779
@@ -95,6 +95,12 @@
|
||||
if(client.prefs.toggles & PREFTOGGLE_CHAT_GHOSTEARS && (speaker in view(src)))
|
||||
message = "<b>[message]</b>"
|
||||
|
||||
// Check if the language used is innate
|
||||
for(var/datum/multilingual_say_piece/SP in message_pieces)
|
||||
if(SP.speaking && SP.speaking.flags & INNATE)
|
||||
custom_emote(EMOTE_AUDIBLE, message_clean, TRUE)
|
||||
return
|
||||
|
||||
if(!can_hear())
|
||||
// INNATE is the flag for audible-emote-language, so we don't want to show an "x talks but you cannot hear them" message if it's set
|
||||
// if(!language || !(language.flags & INNATE))
|
||||
|
||||
Reference in New Issue
Block a user