mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 16:05:07 +00:00
* ONLY SKYRAT CHANGES * ACTUALLY SKYRAT CHANGES * yolo, revert later * Update alternate_byond_versions.txt Co-authored-by: AnturK <AnturK@users.noreply.github.com>
14 lines
491 B
Plaintext
14 lines
491 B
Plaintext
//Datum used to init Auxtools debugging as early as possible
|
|
//Datum gets created in master.dm because for whatever reason global code in there gets runs first
|
|
//In case we ever figure out how to manipulate global init order please move the datum creation into this file
|
|
/datum/debugger
|
|
|
|
/datum/debugger/New()
|
|
enable_debugger()
|
|
|
|
/datum/debugger/proc/enable_debugger()
|
|
var/dll = world.GetConfig("env", "AUXTOOLS_DEBUG_DLL")
|
|
if (dll)
|
|
LIBCALL(dll, "auxtools_init")()
|
|
enable_debugging()
|