Skip to content

Commit

Permalink
antoonij, ты злодей ебучий
Browse files Browse the repository at this point in the history
  • Loading branch information
FlitchTime committed Dec 22, 2024
1 parent 7335c36 commit 3bc1b0e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions code/modules/admin/player_panel.dm
Original file line number Diff line number Diff line change
Expand Up @@ -651,12 +651,10 @@
txt += "</tr>"
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 ? "" : " <i>(logged out)</i>"
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 {"<tr><td><a href='byond://?src=[UID()];adminplayeropts=[human.UID()]'>[human.real_name]</a>[logout_status]</td><td>[job][human.stat == DEAD ? " <b><font color=red>(Dead)</font></b>" : "<font color=green> [human.health]%</font>"] <b>[get_area_name(human)]</b> [coords[1]],[coords[2]],[coords[3]]</td><td><a href='byond://?src=[usr.UID()];priv_msg=[human.client?.ckey]'>PM</A> [ADMIN_FLW(human, "FLW")]</td>[close ? "</tr>" : ""]"}

/datum/admins/proc/check_security()
Expand Down

0 comments on commit 3bc1b0e

Please sign in to comment.