Fixes several things not unlocking when hit with an ID in a tablet. (#53600)

The following will now be unlockable by hitting them with an ID in a tablet:

    Bots
    Express supply console
    Air Alarms
This commit is contained in:
msgerbs
2020-09-11 18:43:53 +01:00
committed by GitHub
parent 457a3bb414
commit dde45a406d
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
return ..()
/obj/machinery/computer/cargo/express/attackby(obj/item/W, mob/living/user, params)
if((istype(W, /obj/item/card/id) || istype(W, /obj/item/pda)) && allowed(user))
if(W.GetID() && allowed(user))
locked = !locked
to_chat(user, "<span class='notice'>You [locked ? "lock" : "unlock"] the interface.</span>")
return