Skip to content

Commit

Permalink
fix cast tts on hear
Browse files Browse the repository at this point in the history
  • Loading branch information
larentoun committed Apr 9, 2024
1 parent fc49549 commit 07b7863
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modular_bandastation/tts/code/hear.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
. = ..()
if(!.)
return
speaker.cast_tts(src, message, effect = radio_freq ? /singleton/sound_effect/radio : null)
speaker.cast_tts(src, raw_message, effect = radio_freq ? /singleton/sound_effect/radio : null)

/mob/dead/observer/Hear(message, atom/movable/speaker, message_language, raw_message, radio_freq, list/spans, list/message_mods, message_range)
. = ..()
if(!.)
return
speaker.cast_tts(src, message, effect = radio_freq ? /singleton/sound_effect/radio : null)
speaker.cast_tts(src, raw_message, effect = radio_freq ? /singleton/sound_effect/radio : null)

0 comments on commit 07b7863

Please sign in to comment.