world/content added to packs search paths

This commit is contained in:
MihailRis
2024-01-03 15:22:52 +03:00
parent 01121b6d27
commit 6198ca22f6
3 changed files with 21 additions and 11 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ void open_world(std::string name, Engine* engine) {
packs.clear();
try {
auto packNames = ContentPack::worldPacksList(folder);
ContentPack::readPacks(paths, packs, packNames);
ContentPack::readPacks(paths, packs, packNames, folder);
} catch (contentpack_error& error) {
// could not to find or read pack
guiutil::alert(engine->getGUI(),