From 482be2ee0d8b9ad971aeac22173f6c36c99ee052 Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Wed, 12 May 2021 16:37:13 -0700 Subject: [PATCH] okay --- code/datums/world_topic.dm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/code/datums/world_topic.dm b/code/datums/world_topic.dm index b40e3b244e..7380db05ad 100644 --- a/code/datums/world_topic.dm +++ b/code/datums/world_topic.dm @@ -214,16 +214,16 @@ /datum/world_topic/jsonstatus/Run(list/input, addr) . = list() - .["Gamemode"] = GLOB.master_mode - .["Round ID"] = GLOB.round_id - .["Players"] = GLOB.clients.len + .["mode"] = GLOB.master_mode + .["round_id"] = GLOB.round_id + .["players"] = GLOB.clients.len var/list/adm = get_admin_counts() var/list/presentmins = adm["present"] var/list/afkmins = adm["afk"] - .["Admins"] = presentmins.len + afkmins.len //equivalent to the info gotten from adminwho - .["Security Level"] = "[NUM2SECLEVEL(GLOB.security_level)]" - .["Round Duration"] = WORLDTIME2TEXT("hh:mm:ss") - .["Time Dilation (Avg)"] = SStime_track.time_dilation_avg + .["admins"] = presentmins.len + afkmins.len //equivalent to the info gotten from adminwho + .["security_level"] = "[NUM2SECLEVEL(GLOB.security_level)]" + .["round_duration"] = WORLDTIME2TEXT("hh:mm:ss") + .["map"] = SSmapping.config.map_name return json_encode(.) /datum/world_topic/jsonplayers @@ -285,10 +285,11 @@ /datum/world_topic/jsonrevision/Run(list/input, addr) . = list() var/datum/getrev/revdata = GLOB.revdata - .["branch"] = "master" .["data"] = revdata.date .["dd_version"] = world.byond_build + .["dd_build"] = world.byond_version .["dm_version"] = DM_BUILD + .["dm_build"] = DM_VERSION .["gameid"] = GLOB.round_id .["revision"] = revdata.commit return json_encode(.)