better telemetry

This commit is contained in:
Letter N
2020-12-23 15:56:15 +08:00
parent 792c9ad752
commit 61c8f69be8
3 changed files with 36 additions and 21 deletions

View File

@@ -86,13 +86,13 @@ SUBSYSTEM_DEF(server_maint)
/datum/controller/subsystem/server_maint/proc/UpdateHubStatus()
if(!CONFIG_GET(flag/hub) || !CONFIG_GET(number/max_hub_pop))
return FALSE //no point, hub / auto hub controls are disabled
// if(!CONFIG_GET(flag/hub) || !CONFIG_GET(number/max_hub_pop))
// return FALSE //no point, hub / auto hub controls are disabled
var/max_pop = CONFIG_GET(number/max_hub_pop)
// var/max_pop = CONFIG_GET(number/max_hub_pop)
if(GLOB.clients.len > max_pop)
world.update_hub_visibility(FALSE)
else
world.update_hub_visibility(TRUE)
// if(GLOB.clients.len > max_pop)
// world.update_hub_visibility(FALSE)
// else
// world.update_hub_visibility(TRUE)
#undef PING_BUFFER_TIME

View File

@@ -84,8 +84,8 @@ SUBSYSTEM_DEF(time_track)
SSair.cost_superconductivity,
SSair.cost_pipenets,
SSair.cost_rebuilds,
length(SSair.active_turfs),
length(SSair.excited_groups),
SSair.get_active_turfs(), //does not return a list, which is what we want
SSair.get_amt_excited_groups(),
length(SSair.hotspots),
length(SSair.networks),
length(SSair.high_pressure_delta),