mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
lua: pack.data_file(packid, name)
This commit is contained in:
parent
daaba374a3
commit
739282dce9
7 changed files with 24 additions and 12 deletions
|
|
@ -230,6 +230,7 @@ void Engine::loadWorldContent(const fs::path& folder) {
|
|||
contentPacks.clear();
|
||||
auto packNames = ContentPack::worldPacksList(folder);
|
||||
ContentPack::readPacks(paths, contentPacks, packNames, folder);
|
||||
paths->setWorldFolder(folder);
|
||||
loadContent();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue