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 <E.boot@student.han.nl>
This commit is contained in:
Adrer
2021-03-22 12:36:53 +01:00
committed by GitHub
parent 604e26d399
commit b1cbe92f44
+2
View File
@@ -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