From 02521a3e391ed0fdb3ae46e69e9c474fb43cc4bf Mon Sep 17 00:00:00 2001 From: Furior Date: Wed, 19 Jul 2023 10:37:56 +0700 Subject: [PATCH] fix: now dmjit loads after logs init --- code/game/world.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/game/world.dm b/code/game/world.dm index dd111593598..1eff0e24027 100644 --- a/code/game/world.dm +++ b/code/game/world.dm @@ -13,7 +13,6 @@ GLOBAL_DATUM(test_runner, /datum/test_runner) init_byond_tracy() #endif - dmjit_hook_main_init() // IMPORTANT // If you do any SQL operations inside this proc, they must ***NOT*** be ran async. Otherwise players can join mid query // This is BAD. @@ -36,6 +35,9 @@ GLOBAL_DATUM(test_runner, /datum/test_runner) // Setup all log paths and stamp them with startups, including round IDs SetupLogs() + // After Logs because can crash without it + dmjit_hook_main_init() + // This needs to happen early, otherwise people can get a null species, nuking their character makeDatumRefLists()