Revert "sort packs in PacksManager::assemble"

This reverts commit 3fb16ab50eedf433c6dce25fb24f760808a0bd19.
This commit is contained in:
MihailRis 2025-02-28 14:03:05 +03:00
parent aa80bbb14f
commit 6e6800aef5

View File

@ -2,7 +2,6 @@
#include <queue>
#include <sstream>
#include <algorithm>
#include "util/listutil.hpp"
@ -125,9 +124,7 @@ std::vector<std::string> PacksManager::assemble(
std::queue<const ContentPack*> queue;
std::queue<const ContentPack*> queue2;
std::sort(allNames.begin(), allNames.end());
for (auto& name : allNames) {
for (auto& name : names) {
auto found = packs.find(name);
if (found == packs.end()) {
throw contentpack_error(name, io::path(), "pack not found");