diff --git a/modular_ss220/text_to_speech/code/hear.dm b/modular_ss220/text_to_speech/code/hear.dm index 78d22c283d01..501713c8a621 100644 --- a/modular_ss220/text_to_speech/code/hear.dm +++ b/modular_ss220/text_to_speech/code/hear.dm @@ -18,21 +18,6 @@ GLOBAL_DATUM_INIT(default_announcer, /datum/tts_seed, new /datum/tts_seed/silero . = ..() speaker.cast_tts(src, message_pieces, H, TRUE, SOUND_EFFECT_RADIO) -/datum/announcer/Message(message, garbled_message, receivers, garbled_receivers) - var/datum/tts_seed/tts_seed = SStts220.tts_seeds[GLOB.default_announcer.name] - if(GLOB.ai_list.len) - var/mob/living/silicon/ai/AI = pick(GLOB.ai_list) - tts_seed = AI.get_tts_seed() - var/message_tts = message - var/garbled_message_tts = garbled_message - message = replace_characters(message, list("+")) - garbled_message = replace_characters(garbled_message, list("+")) - . = ..() - for(var/mob/M in receivers) - INVOKE_ASYNC(GLOBAL_PROC, GLOBAL_PROC_REF(tts_cast), null, M, message_tts, tts_seed, FALSE, SOUND_EFFECT_NONE, TTS_TRAIT_RATE_MEDIUM) - for(var/mob/M in garbled_receivers) - INVOKE_ASYNC(GLOBAL_PROC, GLOBAL_PROC_REF(tts_cast), null, M, garbled_message_tts, tts_seed, FALSE, SOUND_EFFECT_NONE, TTS_TRAIT_RATE_MEDIUM) - /atom/atom_say(message) . = ..() if(!message)