From d128ed766fe9e3210459a262391578bed3913a43 Mon Sep 17 00:00:00 2001 From: Kapu1178 <75460809+Kapu1178@users.noreply.github.com> Date: Sat, 2 Sep 2023 00:57:14 -0400 Subject: [PATCH] enable ref tracking --- code/__HELPERS/_logging.dm | 3 +++ code/_compile_options.dm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/code/__HELPERS/_logging.dm b/code/__HELPERS/_logging.dm index 28d35b2385d0..46bfccf12754 100644 --- a/code/__HELPERS/_logging.dm +++ b/code/__HELPERS/_logging.dm @@ -62,6 +62,9 @@ GLOBAL_LIST_INIT(testing_global_profiler, list("_PROFILE_NAME" = "Global")) /proc/log_harddel(text) WRITE_LOG(GLOB.harddel_log, text) + #ifdef REFERENCE_DOING_IT_LIFE + message_admins(text) + #endif #elif defined(REFERENCE_TRACKING) // Doing it locally #define log_reftracker(msg) log_world("## REF SEARCH [msg]") diff --git a/code/_compile_options.dm b/code/_compile_options.dm index f27967116485..e5497fd86085 100644 --- a/code/_compile_options.dm +++ b/code/_compile_options.dm @@ -105,7 +105,7 @@ /// If this is uncommented, we set up the ref tracker to be used in a live environment /// And to log events to [log_dir]/harddels.log -//#define REFERENCE_DOING_IT_LIVE +#define REFERENCE_DOING_IT_LIVE