From c7a52db3fc3ec8a5f317041c2ded80ff3256ef6b Mon Sep 17 00:00:00 2001 From: Morrow Date: Thu, 16 Nov 2023 21:09:07 -0500 Subject: [PATCH] Thanks unit tests --- code/modules/cm_phone/handset.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/cm_phone/handset.dm b/code/modules/cm_phone/handset.dm index 66ecdeb0d0..2770db7891 100644 --- a/code/modules/cm_phone/handset.dm +++ b/code/modules/cm_phone/handset.dm @@ -37,6 +37,9 @@ /obj/item/handset/hear_talk(mob/living/talker, message, verb="says", datum/language/message_language, italics = 0) . = ..() + if(!phone_component) + return + if(talker == loc) phone_component.handle_speak(message, message_language, talker, direct_talking = TRUE) return