mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
world/content added to packs search paths
This commit is contained in:
parent
01121b6d27
commit
6198ca22f6
3 changed files with 21 additions and 11 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue