mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 17:45:02 +01:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user