!panel_open check

This commit is contained in:
SteelSlayer
2021-09-16 20:09:18 -05:00
parent c7f76211b7
commit 950b64c9af
+1 -1
View File
@@ -83,7 +83,7 @@
return TRUE
/obj/machinery/arcade/crowbar_act(mob/living/user, obj/item/I)
if(!component_parts)
if(!component_parts || !panel_open)
return FALSE
default_deconstruction_crowbar(user, I)
return TRUE