kills Debug and Debug2 all hail debugging_enabled (#94002)

## About The Pull Request
renames Debug2 and kills Debug as its last use (atleast the one
described in its comment) was removed
added it to the check to print to print stack traces to chat in the
instance your debugging without a debugger attached for some reason (if
this var is enabled on live it already causes random to_world messages,
kinda fuck it we ball at that point)
## Why It's Good For The Game
The first one was ENTIRELY unused now
this name makes more sense
## Changelog
N/A
This commit is contained in:
FalloutFalcon
2025-11-18 18:24:36 -06:00
committed by GitHub
parent f76dc43bfd
commit c2dfa647a0
10 changed files with 20 additions and 22 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ GLOBAL_VAR_INIT(total_runtimes_skipped, 0)
GLOB.current_test.Fail("[main_line]\n[desclines.Join("\n")]", file = E.file, line = E.line)
#endif
if(Debugger?.enabled)
if(Debugger?.enabled || GLOB.debugging_enabled)
to_chat(world, span_alertwarning("[main_line]"), type = MESSAGE_TYPE_DEBUG)
// This writes the regular format (unwrapping newlines and inserting timestamps as needed).