diff --git a/code/modules/admin/player_panel.dm b/code/modules/admin/player_panel.dm index aed251651a9..6b7ef5165db 100644 --- a/code/modules/admin/player_panel.dm +++ b/code/modules/admin/player_panel.dm @@ -651,12 +651,10 @@ txt += "" return txt -/datum/admins/proc/check_security_line(mob/living/carbon/human/human, close = 1) +/datum/admins/proc/check_security_line(mob/living/human, close = 1) var/logout_status = human.client ? "" : " (logged out)" var/list/coords = ATOM_COORDS(human) - var/job = human.job - if(issilicon(human)) - job = "Cyborg" + var/job = human.job || human.mind?.assigned_role // || need because maybe ert robots with null in job return {"[human.real_name][logout_status][job][human.stat == DEAD ? " (Dead)" : " [human.health]%"] [get_area_name(human)] [coords[1]],[coords[2]],[coords[3]]PM [ADMIN_FLW(human, "FLW")][close ? "" : ""]"} /datum/admins/proc/check_security()