mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-14 01:18:40 +01:00
Bump dreamchecker version to 1.4 (#8711)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
var/mob/abstract/observer/G = ghosts[target]
|
||||
|
||||
if(!G in ghosts)
|
||||
if(!(G in ghosts))
|
||||
statuscode = 404
|
||||
response = "Target not in ghosts list"
|
||||
data = null
|
||||
|
||||
@@ -20,15 +20,18 @@
|
||||
s["transferring"] = !!(emergency_shuttle?.online())
|
||||
|
||||
s["players"] = clients.len
|
||||
s["admins"] = 0
|
||||
s["staff"] = staff.len
|
||||
|
||||
var/admin_count = 0
|
||||
|
||||
for(var/S in staff)
|
||||
var/client/C = S
|
||||
if(C.holder.fakekey)
|
||||
continue
|
||||
if(C.holder.rights & (R_MOD|R_ADMIN))
|
||||
s["admins"]++
|
||||
admin_count++
|
||||
|
||||
s["admins"] = admin_count
|
||||
|
||||
statuscode = 200
|
||||
response = "Server status fetched."
|
||||
|
||||
Reference in New Issue
Block a user