mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
add 'is_new' argument to on_world_open
This commit is contained in:
parent
9ce70d70e1
commit
53ce219127
4 changed files with 15 additions and 6 deletions
|
|
@ -116,6 +116,8 @@ std::unique_ptr<Level> World::load(
|
|||
if (!info.has_value()) {
|
||||
throw world_load_error("could not to find world.json");
|
||||
}
|
||||
info->isLoaded = true;
|
||||
|
||||
logger.info() << "loading world " << info->name << " ("
|
||||
<< worldFilesPtr->getFolder().string() << ")";
|
||||
logger.info() << "world version: " << info->major << "." << info->minor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue