fix tgs version feedbackdb logging (#80774)

I found this while looking in this file for other reasons.

Shutdown is called after blackbox.Seal() in 99% of cases, keeping this
from getting logged.
This commit is contained in:
Kyle Spier-Swenson
2024-01-05 16:38:44 +01:00
committed by GitHub
parent 2653e8860e
commit 3e28a42bf8
+5 -3
View File
@@ -31,6 +31,11 @@ SUBSYSTEM_DEF(server_maint)
"dead_mob_list" = GLOB.dead_mob_list,
"keyloop_list" = GLOB.keyloop_list, //A null here will cause new clients to be unable to move. totally unacceptable
)
var/datum/tgs_version/tgsversion = world.TgsVersion()
if(tgsversion)
SSblackbox.record_feedback("text", "server_tools", 1, tgsversion.raw_parameter)
return SS_INIT_SUCCESS
/datum/controller/subsystem/server_maint/fire(resumed = FALSE)
@@ -86,9 +91,6 @@ SUBSYSTEM_DEF(server_maint)
C?.tgui_panel?.send_roundrestart()
if(server) //if you set a server location in config.txt, it sends you there instead of trying to reconnect to the same world address. -- NeoFite
C << link("byond://[server]")
var/datum/tgs_version/tgsversion = world.TgsVersion()
if(tgsversion)
SSblackbox.record_feedback("text", "server_tools", 1, tgsversion.raw_parameter)
/datum/controller/subsystem/server_maint/proc/UpdateHubStatus()