From ae2c7a3bc771bdcb53f3e27424920fed6fcbf710 Mon Sep 17 00:00:00 2001 From: Ivory Date: Wed, 12 Feb 2025 20:24:48 +0100 Subject: [PATCH] Add public address to status topic (#89447) useful for showing the public address to the server info fetcher, since that only has the internal ip to go off of atm --- code/datums/world_topic.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/datums/world_topic.dm b/code/datums/world_topic.dm index e3c500ab6d0..b363423f0ac 100644 --- a/code/datums/world_topic.dm +++ b/code/datums/world_topic.dm @@ -205,6 +205,10 @@ .["hub"] = GLOB.hub_visibility .["identifier"] = CONFIG_GET(string/serversqlname) + var/public_address = CONFIG_GET(string/public_address) + if(public_address) + .["public_address"] = public_address + var/list/adm = get_admin_counts() var/list/presentmins = adm["present"]