From c4cd57d7c87e9d147cb6f186b7d21116409b21c2 Mon Sep 17 00:00:00 2001 From: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> Date: Wed, 12 Jun 2024 14:22:24 -0400 Subject: [PATCH] AI eyes with relay speech effects the AI with voice of god if the ai eye has relay speech (#25632) * AI eyes with relay speech effectt he AI with voice of god * Update vocal_cords.dm --- code/modules/surgery/organs/vocal_cords.dm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/modules/surgery/organs/vocal_cords.dm b/code/modules/surgery/organs/vocal_cords.dm index 807f645a082..0d4306e2f7f 100644 --- a/code/modules/surgery/organs/vocal_cords.dm +++ b/code/modules/surgery/organs/vocal_cords.dm @@ -166,7 +166,12 @@ GLOBAL_DATUM_INIT(multispin_words, /regex, regex("like a record baby")) var/mob/living/carbon/human/H = L if(H.check_ear_prot() >= HEARING_PROTECTION_TOTAL) continue - listeners += L + if(istype(L, /mob/camera/aiEye)) + var/mob/camera/aiEye/ai_eye = L + if(ai_eye.relay_speech && ai_eye.ai) + listeners += ai_eye.ai + else + listeners += L if(!length(listeners)) next_command = world.time + cooldown_none