diff --git a/loader/src/loader/ModImpl.cpp b/loader/src/loader/ModImpl.cpp index 22b13f21..0ccff4a3 100644 --- a/loader/src/loader/ModImpl.cpp +++ b/loader/src/loader/ModImpl.cpp @@ -174,10 +174,6 @@ std::vector Mod::Impl::getPatches() const { // Settings and saved values Result<> Mod::Impl::loadData() { - Loader::get()->queueInMainThread([&]() { - ModStateEvent(m_self, ModEventType::DataLoaded).post(); - }); - // Settings // Check if settings exist auto settingPath = m_saveDirPath / "settings.json"; @@ -331,6 +327,7 @@ Result<> Mod::Impl::loadBinary() { ModStateEvent(m_self, ModEventType::Loaded).post(); ModStateEvent(m_self, ModEventType::Enabled).post(); + ModStateEvent(m_self, ModEventType::DataLoaded).post(); m_isCurrentlyLoading = false;