From fd3b0f9e05596f579c4f05ccc792b9a310c38e13 Mon Sep 17 00:00:00 2001 From: matttheficus <57759731+matttheficus@users.noreply.github.com> Date: Mon, 18 Oct 2021 17:50:20 -0400 Subject: [PATCH] this should do it (#16971) --- code/game/objects/structures/safe.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/objects/structures/safe.dm b/code/game/objects/structures/safe.dm index c373a28936c..36f33388f50 100644 --- a/code/game/objects/structures/safe.dm +++ b/code/game/objects/structures/safe.dm @@ -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, "You replace the broken mechanism.") qdel(I)