diff --git a/source/menus/Stats.cpp b/source/menus/Stats.cpp index 0ce0ce8..1ee86d0 100644 --- a/source/menus/Stats.cpp +++ b/source/menus/Stats.cpp @@ -22,6 +22,9 @@ void Menu_Stats::sortTitles(){ std::sort(this->titles.begin(), this->titles.end(), [](Title * lhs, Title * rhs){ return lhs->getFirstPlayed() < rhs->getFirstPlayed(); }); + while (this->titles[0]->getFirstPlayed() == 0){ + std::rotate(this->titles.begin(), this->titles.begin()+1, this->titles.end()); + } break; case LastPlayed: std::sort(this->titles.begin(), this->titles.end(), [](Title * lhs, Title * rhs){ @@ -42,7 +45,7 @@ Menu_Stats::Menu_Stats(std::vector