mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
fix
This commit is contained in:
parent
aef1544e20
commit
d3cd333d14
1 changed files with 2 additions and 1 deletions
|
|
@ -138,6 +138,7 @@ void Engine::loadContent() {
|
||||||
auto resdir = paths->getResources();
|
auto resdir = paths->getResources();
|
||||||
ContentBuilder contentBuilder;
|
ContentBuilder contentBuilder;
|
||||||
setup_definitions(&contentBuilder);
|
setup_definitions(&contentBuilder);
|
||||||
|
paths->setContentPacks(&contentPacks);
|
||||||
|
|
||||||
std::vector<fs::path> resRoots;
|
std::vector<fs::path> resRoots;
|
||||||
for (auto& pack : contentPacks) {
|
for (auto& pack : contentPacks) {
|
||||||
|
|
@ -163,7 +164,7 @@ void Engine::loadContent() {
|
||||||
}
|
}
|
||||||
assets->extend(*new_assets.get());
|
assets->extend(*new_assets.get());
|
||||||
|
|
||||||
paths->setContentPacks(&contentPacks);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Engine::loadWorldContent(const fs::path& folder) {
|
void Engine::loadWorldContent(const fs::path& folder) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue