diff --git a/code/game/topic.dm b/code/game/topic.dm index f60ec272c91..883f6b68da3 100644 --- a/code/game/topic.dm +++ b/code/game/topic.dm @@ -12,8 +12,11 @@ s["host"] = host ? host : null s["players"] = list() s["admins"] = 0 + var/admins = 0 var/n = 0 + for(var/client/C) + n++ if(C.holder && C.holder.level >= 0) //not retired admin if(!C.stealth) //stealthmins dont count as admins @@ -25,4 +28,9 @@ s["player[n]"] = "[C.key]" s["players"] = n s["end"] = "#end" - return list2params(s) \ No newline at end of file + + // 7 + s["players"] + 1 = index of s["revinfo"] + s["revision"] = revdata.revision + s["admins"] = admins + + return list2params(s)