mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
Replace ID/PDA/Wallet checks with GetID() (#10204)
This commit is contained in:
@@ -131,11 +131,8 @@
|
||||
return
|
||||
if (istype(M, /mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/H = M
|
||||
if (H.wear_id)
|
||||
var/obj/item/card/id/id = H.wear_id
|
||||
if(istype(H.wear_id, /obj/item/device/pda))
|
||||
var/obj/item/device/pda/pda = H.wear_id
|
||||
id = pda.id
|
||||
if (H.GetIdCard())
|
||||
var/obj/item/card/id/id = H.GetIdCard()
|
||||
id.icon_state = "gold"
|
||||
id.access = get_all_accesses()
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user