Revert "sort packs in PacksManager::assemble"
This reverts commit 3fb16ab50eedf433c6dce25fb24f760808a0bd19.
This commit is contained in:
parent
aa80bbb14f
commit
6e6800aef5
@ -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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user