fix dependency freeze in nested dependency chain

This commit is contained in:
altalk23 2024-02-04 16:39:18 +03:00
parent 34e80c1ea8
commit fda37905e0

View file

@ -680,9 +680,10 @@ void Loader::Impl::continueRefreshModGraph() {
if (!m_modsToLoad.empty()) {
log::debug("Loading mods");
log::pushNest();
this->loadModGraph(m_modsToLoad.front(), false);
log::popNest();
auto mod = m_modsToLoad.front();
m_modsToLoad.pop_front();
this->loadModGraph(mod, false);
log::popNest();
break;
}
m_loadingState = LoadingState::Problems;