another huge sync

This commit is contained in:
LetterJay
2017-06-21 18:00:00 -05:00
parent 0719541100
commit d04001c09d
51 changed files with 1443 additions and 981 deletions
+8 -4
View File
@@ -93,21 +93,25 @@
/world/Topic(T, addr, master, key)
if(config && config.log_world_topic)
var/list/input = params2list(T)
var/pinging = ("ping" in input)
var/playing = ("players" in input)
if(!pinging && !playing && config && config.log_world_topic)
GLOB.world_game_log << "TOPIC: \"[T]\", from:[addr], master:[master], key:[key]"
var/list/input = params2list(T)
if(input[SERVICE_CMD_PARAM_KEY])
return ServiceCommand(input)
var/key_valid = (global.comms_allowed && input["key"] == global.comms_key)
if("ping" in input)
if(pinging)
var/x = 1
for (var/client/C in GLOB.clients)
x++
return x
else if("players" in input)
else if(playing)
var/n = 0
for(var/mob/M in GLOB.player_list)
if(M.client)