fixes snowflake unmodular ID checks (#15596)

* GetID

* Update expressconsole.dm

* Update mech_fabricator.dm
This commit is contained in:
ynot01
2022-09-04 10:50:11 -04:00
committed by GitHub
parent 67d732c514
commit 9a1aadf928
8 changed files with 9 additions and 9 deletions

View File

@@ -296,7 +296,7 @@
to_chat(user, span_notice("The maintenance panel is now [open ? "opened" : "closed"]."))
else
to_chat(user, span_warning("The maintenance panel is locked."))
else if(istype(W, /obj/item/card/id) || istype(W, /obj/item/pda))
else if(W.GetID())
if(bot_core.allowed(user) && !open && !emagged)
locked = !locked
to_chat(user, "Controls are now [locked ? "locked." : "unlocked."]")