diff --git a/loader/src/ui/internal/list/ProblemsListPopup.cpp b/loader/src/ui/internal/list/ProblemsListPopup.cpp index 336128af..3b2332b8 100644 --- a/loader/src/ui/internal/list/ProblemsListPopup.cpp +++ b/loader/src/ui/internal/list/ProblemsListPopup.cpp @@ -38,6 +38,7 @@ void ProblemsListPopup::createList(Mod* scrollTo) { } CCArray* ProblemsListPopup::createCells(Mod* scrollTo, float& scrollValue) { + std::vector veryTop; std::vector top; std::vector middle; std::vector bottom; @@ -50,6 +51,9 @@ CCArray* ProblemsListPopup::createCells(Mod* scrollTo, float& scrollValue) { case geode::LoadProblem::Type::Recommendation: middle.push_back(ProblemsListCell::create(problem, this, this->getCellSize())); break; + case geode::LoadProblem::Type::OutdatedIncompatibility: + case geode::LoadProblem::Type::PresentIncompatibility: + veryTop.push_back(ProblemsListCell::create(problem, this, this->getCellSize())); default: top.push_back(ProblemsListCell::create(problem, this, this->getCellSize())); break; @@ -69,6 +73,10 @@ CCArray* ProblemsListPopup::createCells(Mod* scrollTo, float& scrollValue) { scrollFound = true; }; + for (auto const& item : veryTop) { + tryFindScroll(item); + final->addObject(item); + } for (auto const& item : top) { tryFindScroll(item); final->addObject(item);