Fixes crowbars not working on AIs (#14477)

This commit is contained in:
Ryal
2020-09-28 00:02:55 -04:00
committed by GitHub
parent 672e713d14
commit d09b489d7e
+1 -1
View File
@@ -111,7 +111,7 @@
return ..()
/obj/structure/AIcore/crowbar_act(mob/living/user, obj/item/I)
if(state !=CIRCUIT_CORE || state != GLASS_CORE || !(state == CABLED_CORE && brain))
if(state !=CIRCUIT_CORE && state != GLASS_CORE && !(state == CABLED_CORE && brain))
return
. = TRUE
if(!I.use_tool(src, user, 0, volume = I.tool_volume))