From b1cbe92f449fc60f5202adc05bacd0b76f080d63 Mon Sep 17 00:00:00 2001 From: Adrer Date: Mon, 22 Mar 2021 12:36:53 +0100 Subject: [PATCH] Allows crowbars to be recycled in autolathes (#15747) * Moved mode check in welder act up * Added a check for the panel in crowbar_act * Now with 99% less wrong commits! Co-authored-by: Erwin Boot --- code/game/machinery/autolathe.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/machinery/autolathe.dm b/code/game/machinery/autolathe.dm index 8a800e9a29f..fda3fc2d8d0 100644 --- a/code/game/machinery/autolathe.dm +++ b/code/game/machinery/autolathe.dm @@ -288,6 +288,8 @@ return ..() /obj/machinery/autolathe/crowbar_act(mob/user, obj/item/I) + if(!panel_open) + return if(!I.use_tool(src, user, 0, volume = 0)) return . = TRUE