From 183ecc464da773e6c7305958a323d15332a31977 Mon Sep 17 00:00:00 2001 From: LiquidPotroh <100733800+LiquidPotroh@users.noreply.github.com> Date: Sun, 10 Dec 2023 22:41:07 +0300 Subject: [PATCH] bugfix: return ghost interactions with machinery (#4021) --- code/game/machinery/machinery.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/machinery/machinery.dm b/code/game/machinery/machinery.dm index a9fcf27dd2c..ac7b3fbe711 100644 --- a/code/game/machinery/machinery.dm +++ b/code/game/machinery/machinery.dm @@ -273,6 +273,9 @@ Class Procs: return attack_hand(user) /obj/machinery/attack_hand(mob/user as mob) + if(istype(user, /mob/dead/observer)) + return FALSE + if(user.incapacitated()) return TRUE