From 3bc1b0e481ab3f3269a0fa4b63ca474eaef4772a Mon Sep 17 00:00:00 2001 From: FlitchTime Date: Sun, 22 Dec 2024 14:29:10 +0300 Subject: [PATCH] =?UTF-8?q?antoonij,=20=D1=82=D1=8B=20=D0=B7=D0=BB=D0=BE?= =?UTF-8?q?=D0=B4=D0=B5=D0=B9=20=D0=B5=D0=B1=D1=83=D1=87=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/modules/admin/player_panel.dm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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()