Allows examining the ID menu for IDs in wallets or modular computers (#16168)

Co-authored-by: Gabby <martinezgabby576@gmail.com>
This commit is contained in:
feartheblackout
2023-04-09 13:43:22 -05:00
committed by GitHub
parent 827d6c3790
commit 5cc5dd3001
3 changed files with 52 additions and 0 deletions

View File

@@ -335,3 +335,9 @@
if(P.focused_conv)
P.focused_conv.cl_send(P, text, M)
registered_message = text
/obj/item/modular_computer/examine(mob/user)
. = ..()
var/obj/item/card/id/id = GetID()
if(istype(id) && Adjacent(user))
id.show(user)