mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update ContentLoader part 1
This commit is contained in:
parent
f135896683
commit
8d41f6af11
5 changed files with 98 additions and 54 deletions
|
|
@ -289,10 +289,7 @@ void Engine::loadContent() {
|
|||
std::vector<PathsRoot> resRoots;
|
||||
for (auto& pack : contentPacks) {
|
||||
resRoots.push_back({pack.id, pack.folder});
|
||||
|
||||
ContentLoader loader(&pack);
|
||||
loader.load(contentBuilder);
|
||||
|
||||
ContentLoader(&pack, contentBuilder).load();
|
||||
load_configs(pack.folder);
|
||||
}
|
||||
load_configs(paths->getResources());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue