mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-19 20:06:28 +01:00
Re-adds Auxtools (#15652)
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include "code\__defines\antagonist.dm"
|
||||
#include "code\__defines\armor.dm"
|
||||
#include "code\__defines\atmos.dm"
|
||||
#include "code\__defines\auxtools.dm"
|
||||
#include "code\__defines\battle_monsters.dm"
|
||||
#include "code\__defines\byond_compat.dm"
|
||||
#include "code\__defines\callback.dm"
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
/proc/auxtools_stack_trace(msg)
|
||||
CRASH(msg)
|
||||
|
||||
/proc/enable_debugging(mode, port)
|
||||
CRASH("auxtools not loaded")
|
||||
|
||||
/world/New()
|
||||
var/debug_server = world.GetConfig("env", "AUXTOOLS_DEBUG_DLL")
|
||||
if (debug_server)
|
||||
call(debug_server, "auxtools_init")()
|
||||
enable_debugging()
|
||||
. = ..()
|
||||
|
||||
/world/Del()
|
||||
var/debug_server = world.GetConfig("env", "AUXTOOLS_DEBUG_DLL")
|
||||
if (debug_server)
|
||||
call(debug_server, "auxtools_shutdown")()
|
||||
. = ..()
|
||||
Reference in New Issue
Block a user