this should do it (#16971)

This commit is contained in:
matttheficus
2021-10-18 22:50:20 +01:00
committed by GitHub
parent ab7e8f0f38
commit fd3b0f9e05
+2
View File
@@ -175,6 +175,8 @@ GLOBAL_LIST_EMPTY(safes)
/obj/structure/safe/attackby(obj/item/I, mob/user, params)
if(open)
if(I.flags && ABSTRACT)
return
if(broken && istype(I, /obj/item/safe_internals) && do_after(user, 2 SECONDS, target = src))
to_chat(user, "<span class='notice'>You replace the broken mechanism.</span>")
qdel(I)