don't initialize Core from the main thread

that's too early
develop
Myk Taylor 2023-04-13 00:27:20 -07:00
parent 275513319c
commit 6c577fbe26
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -3,7 +3,7 @@
// called before main event loop starts
DFhackCExport void dfhooks_init() {
DFHack::Core::getInstance().Init();
// TODO: initialize things we need to do while still in the main thread
}
// called after main event loops exits