From d1507aa22b07809a0f44a580eae2d99276b91802 Mon Sep 17 00:00:00 2001 From: san7890 Date: Sat, 15 Oct 2022 15:15:38 -0600 Subject: [PATCH] [s] Dead people can no longer communicate with the living (#70446) * [s] Dead people can no longer communicate with the living Thought listener, through chicanery, could let you still pass through valid strings (and not fail) if you were a mob/dead/observer occupying your mob/living body. god dammit. check to make sure the fucker is dead. --- code/modules/wiremod/components/bci/thought_listener.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/wiremod/components/bci/thought_listener.dm b/code/modules/wiremod/components/bci/thought_listener.dm index b995c0102c7..7c41c56e0e7 100644 --- a/code/modules/wiremod/components/bci/thought_listener.dm +++ b/code/modules/wiremod/components/bci/thought_listener.dm @@ -48,7 +48,7 @@ var/mob/living/owner = bci.owner - if(!owner || !istype(owner) || !owner.client) + if(!owner || !istype(owner) || !owner.client || (owner.stat >= UNCONSCIOUS)) failure.set_output(COMPONENT_SIGNAL) return