mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +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();
|
||||
ContentBuilder contentBuilder;
|
||||
setup_definitions(&contentBuilder);
|
||||
paths->setContentPacks(&contentPacks);
|
||||
|
||||
std::vector<fs::path> resRoots;
|
||||
for (auto& pack : contentPacks) {
|
||||
|
|
@ -163,7 +164,7 @@ void Engine::loadContent() {
|
|||
}
|
||||
assets->extend(*new_assets.get());
|
||||
|
||||
paths->setContentPacks(&contentPacks);
|
||||
|
||||
}
|
||||
|
||||
void Engine::loadWorldContent(const fs::path& folder) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue