Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

Commit

Permalink
fix: now dmjit loads after logs init
Browse files Browse the repository at this point in the history
  • Loading branch information
Furrior committed Jul 19, 2023
1 parent bc3aa28 commit 02521a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/game/world.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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()

Expand Down

0 comments on commit 02521a3

Please sign in to comment.