mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-24 09:02:27 +00:00
Fixing this (#6371)
This commit is contained in:
committed by
Werner
parent
345a70a65d
commit
ba6970d7d5
@@ -42,13 +42,14 @@
|
||||
description = "Gets a list of connected staffmembers"
|
||||
|
||||
/datum/topic_command/get_stafflist/run_command(queryparams)
|
||||
var/list/staff = list()
|
||||
for (var/client/C in staff)
|
||||
staff[C] = C.holder.rank
|
||||
var/list/l_staff = list()
|
||||
for (var/s in staff)
|
||||
var/client/C = s
|
||||
l_staff[C] = C.holder.rank
|
||||
|
||||
statuscode = 200
|
||||
response = "Staff list fetched"
|
||||
data = staff
|
||||
data = l_staff
|
||||
return TRUE
|
||||
|
||||
//Char Names
|
||||
|
||||
Reference in New Issue
Block a user