diff --git a/source/IVLodLights/dllmain.cpp b/source/IVLodLights/dllmain.cpp index ef7064b..52ba2b7 100644 --- a/source/IVLodLights/dllmain.cpp +++ b/source/IVLodLights/dllmain.cpp @@ -476,7 +476,7 @@ extern "C" __declspec(dllexport) void InitializeASI() static std::once_flag flag; std::call_once(flag, []() { - std::thread([]() { CLODLightManager::IV::Init(); }).detach(); + CLODLightManager::IV::Init(); }); }