From 85051d8762d52bdf58dfc02cf4f4cf05b8d4bf01 Mon Sep 17 00:00:00 2001 From: craftxbox Date: Sat, 19 Oct 2019 23:56:04 -0230 Subject: [PATCH] quickfix to stop people using the scanner inside it (#12567) --- code/game/machinery/adv_med.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/machinery/adv_med.dm b/code/game/machinery/adv_med.dm index b0368d652fb..0863b65415a 100644 --- a/code/game/machinery/adv_med.dm +++ b/code/game/machinery/adv_med.dm @@ -140,6 +140,9 @@ if(stat & (NOPOWER|BROKEN)) return + if(occupant == user) + return // you cant reach that + if(panel_open) to_chat(user, "Close the maintenance panel first.") return