Add debugger to world.dm by default (#10429)

Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com>
This commit is contained in:
JohnWildkins
2020-11-04 20:40:30 +01:00
committed by GitHub
co-authored by Werner
parent a67dbff631
commit ad482f0ead
+7
View File
@@ -57,6 +57,11 @@ var/global/datum/global_init/init = new ()
maxx = WORLD_MIN_SIZE // So that we don't get map-window-popin at boot. DMMS will expand this.
maxy = WORLD_MIN_SIZE
/world/proc/enable_debugger()
var/dll = world.GetConfig("env", "EXTOOLS_DLL")
if (dll)
call(dll, "debug_initialize")()
#define RECOMMENDED_VERSION 510
/world/New()
//logs
@@ -82,6 +87,8 @@ var/global/datum/global_init/init = new ()
callHook("startup")
enable_debugger()
. = ..()
#ifdef UNIT_TEST