Adds debbuging

This commit is contained in:
Artur
2020-02-05 20:35:24 +01:00
parent af8d6c913d
commit c2b68d0ba3
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -11,3 +11,8 @@
#define SHOULD_CALL_PARENT(X)
#define UNLINT(X) X
#endif
/world/proc/enable_debugger()
var/dll = world.GetConfig("env", "EXTOOLS_DLL")
if(dll)
call(dll, "debug_initialize")()
+1
View File
@@ -8,6 +8,7 @@ GLOBAL_LIST(topic_status_cache)
//This happens after the Master subsystem new(s) (it's a global datum)
//So subsystems globals exist, but are not initialised
/world/New()
enable_debugger()
log_world("World loaded at [TIME_STAMP("hh:mm:ss", FALSE)]!")