nevermind this should go after

This commit is contained in:
SteelSlayer
2020-06-06 10:04:46 -05:00
parent 158c4e241e
commit 973e53be14
@@ -55,13 +55,13 @@
new /obj/item/radio/headset( src )
/obj/structure/closet/secure_closet/personal/attackby(obj/item/W, mob/user, params)
if(!istype(W, /obj/item/card/id))
return ..()
if(broken)
to_chat(user, "<span class='warning'>It appears to be broken.</span>")
return
if(!istype(W, /obj/item/card/id))
return ..()
var/obj/item/card/id/I = W
if(!I || !I.registered_name)
return