Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Deleted user committed Jul 27, 2024
1 parent 79af612 commit 7132bbc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/controllers/subsystem/who.dm
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ SUBSYSTEM_DEF(who)
switch(action)
if("get_player_panel")
if(mobs_ckey[params["ckey"]])
GLOB.admin_datums[usr.client.ckey].show_player_panel(mobs_ckey[params["ckey"]])
GLOB.admin_datums[ui.user.client.ckey].show_player_panel(mobs_ckey[params["ckey"]])

/datum/player_list/ui_status(mob/user, datum/ui_state/state)
return UI_INTERACTIVE
Expand Down Expand Up @@ -276,10 +276,11 @@ SUBSYSTEM_DEF(who)

admin["content"] = "[entry.key] ([rank])"
admin["text"] = ""
minimum_admins += list(admin.Copy())

if(entry.admin_holder?.fakekey)
admin["text"] += " (HIDDEN)"
else
minimum_admins += list(admin.Copy())

if(istype(entry.mob, /mob/dead/observer))
admin["color"] = "#808080"
Expand Down

0 comments on commit 7132bbc

Please sign in to comment.