Skip to content

Commit

Permalink
Radio TTS fix (#16829)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lumipharon authored Dec 21, 2024
1 parent 38a1ee3 commit 3ec9b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/machinery/telecomms/broadcasting.dm
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@

var/list/list_of_listeners = list()
for(var/mob/living/carbon/human/potential_hearer in receive)
if(potential_hearer.stat >= UNCONSCIOUS || potential_hearer.disabilities & DEAF || !(potential_hearer.client?.prefs.sound_tts != TTS_SOUND_OFF))
if(potential_hearer.stat >= UNCONSCIOUS || !(potential_hearer.client?.prefs.sound_tts != TTS_SOUND_OFF) || potential_hearer == speaker || isdeaf(potential_hearer))
continue

var/radio_flags = potential_hearer?.client?.prefs?.radio_tts_flags
Expand Down

0 comments on commit 3ec9b01

Please sign in to comment.