Bump dreamchecker version to 1.4 (#8711)

This commit is contained in:
Matt Atlas
2020-04-28 15:41:32 +02:00
committed by GitHub
parent a0938b98c7
commit 4b97822bb4
88 changed files with 153 additions and 293 deletions
+1 -1
View File
@@ -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."