From da32ad49b3d503290c99f888c655f684a9bb4b86 Mon Sep 17 00:00:00 2001 From: Lucy Date: Fri, 9 May 2025 20:34:58 -0400 Subject: [PATCH] fix byond-tracy not actually setting `trace_path` (#90964) ## About The Pull Request during https://github.com/tgstation/tgstation/pull/90288 I accidentally forgot to make enabling tracy set `trace_path`, so `tracy.loc` would never be written. ## Why It's Good For The Game `tracy.loc` - the file that links a specific round ID to a specific utracy file - never gets written currently. and that's annoying. ## Changelog no user-facing changes --- code/modules/debugging/tracy.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/debugging/tracy.dm b/code/modules/debugging/tracy.dm index 9840a253fb9..ac661466e9d 100644 --- a/code/modules/debugging/tracy.dm +++ b/code/modules/debugging/tracy.dm @@ -39,6 +39,7 @@ GLOBAL_REAL(Tracy, /datum/tracy) if(length(init_result) != 0 && init_result[1] == ".") // if first character is ., then it returned the output filename SEND_TEXT(world.log, "byond-tracy initialized (logfile: [init_result])") enabled = TRUE + trace_path = init_result return TRUE else if(init_result == "already initialized") // not gonna question it. enabled = TRUE