Skip to content

Commit

Permalink
meh, shizoprenia midnight suggested me to do this
Browse files Browse the repository at this point in the history
  • Loading branch information
Deleted user committed Jul 25, 2024
1 parent 0e0fd2e commit 79af612
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/controllers/subsystem/who.dm
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@ SUBSYSTEM_DEF(who)
"text" = "Queen: [hive.living_xeno_queen ? "Alive" : "Dead"]",
))

new_list_data["admin"] = FALSE
list_data = new_list_data
new_list_admin_data["admin"] = TRUE
list_admin_data = new_list_admin_data
mobs_ckey = new_mobs_ckey

Expand All @@ -207,10 +209,6 @@ SUBSYSTEM_DEF(who)
else
. = list_data

/datum/player_list/ui_static_data(mob/user)
. = list()
.["admin"] = CLIENT_IS_STAFF(user.client)

/datum/player_list/ui_act(action, list/params, datum/tgui/ui, datum/ui_state/state)
. = ..()
if(.)
Expand Down Expand Up @@ -314,7 +312,9 @@ SUBSYSTEM_DEF(who)
"admins" = admins,
))

new_list_data["admin"] = FALSE
list_data = new_list_data
new_list_admin_data["admin"] = TRUE
list_admin_data = new_list_admin_data

/mob/verb/who()
Expand Down

0 comments on commit 79af612

Please sign in to comment.