This commit is contained in:
SapphicOverload
2023-07-02 19:48:22 -04:00
committed by GitHub
parent 071fe93475
commit e47d2da32f

View File

@@ -453,7 +453,7 @@
else
to_chat(user, "The wires seem fine, there's no need to fix them.")
else if(W.tool_behaviour == TOOL_CROWBAR) // crowbar means open or close the cover
else if(W.tool_behaviour == TOOL_CROWBAR && (user.a_intent != INTENT_HARM || user == src)) // crowbar means open or close the cover
if(opened)
to_chat(user, span_notice("You close the cover."))
opened = 0