mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 17:43:35 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user