Skip to content

Commit

Permalink
[MISSED MIRROR] fix tgs version feedbackdb logging (#80774) (#333)
Browse files Browse the repository at this point in the history
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.

Co-authored-by: Kyle Spier-Swenson <[email protected]>
  • Loading branch information
2 people authored and FFMirrorBot committed Jan 6, 2024
1 parent 9ca43cb commit d3ba72d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions code/controllers/subsystem/server_maint.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit d3ba72d

Please sign in to comment.