mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Revert "sort packs in PacksManager::assemble"
This reverts commit 3fb16ab50e.
This commit is contained in:
parent
11cff72508
commit
f2aa54172f
1 changed files with 1 additions and 4 deletions
|
|
@ -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, fs::path(""), "pack not found");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue