feat: world files resources file loading
This commit is contained in:
@@ -116,6 +116,7 @@ std::unique_ptr<Level> World::load(
|
||||
if (!wfile->readWorldInfo(world.get())) {
|
||||
throw world_load_error("could not to find world.json");
|
||||
}
|
||||
wfile->readResourcesData(content);
|
||||
|
||||
auto level = std::make_unique<Level>(std::move(world), content, settings);
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user