diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index 865e2ee958..8e2e12f247 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -1882,14 +1882,24 @@ if(M.mind && M.mind.assigned_role && istype(M, /mob/living/carbon/human)) // Adds a column to Player Panel that shows their current job. var/mob/living/carbon/human/H = M + if (H.wear_id) - var/obj/item/weapon/card/id/id = H.wear_id + var/obj/item/weapon/card/id/id + + if(istype(H.wear_id, /obj/item/weapon/card/id)) + id = H.wear_id // The ID is on the ID slot + else if(istype(H.wear_id, /obj/item/device/pda)) + var/obj/item/device/pda/PDA = H.wear_id + id = PDA.id // The ID is contained inside the PDA + if(M.mind.assigned_role == id.assignment) // Polymorph dat += "[M.mind.assigned_role]" else dat += "[M.mind.assigned_role] ([id.assignment])" + else dat += "[M.mind.assigned_role] (No ID)" + else dat += "No Assigned Role"