mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
TG: More work on NTSL and world/Topic()
Includes a plethora of new NTSL functions, courtesy of Donkieyo (thread: http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=8153) Bugfix for a weird runtime generated when an AI tries to interact with telecomms machinery directly. Revision: r3347 Author: vageyenaman
This commit is contained in:
+9
-1
@@ -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)
|
||||
|
||||
// 7 + s["players"] + 1 = index of s["revinfo"]
|
||||
s["revision"] = revdata.revision
|
||||
s["admins"] = admins
|
||||
|
||||
return list2params(s)
|
||||
|
||||
Reference in New Issue
Block a user