add 'is_new' argument to on_world_open

This commit is contained in:
MihailRis
2025-08-15 23:48:04 +03:00
parent 9ce70d70e1
commit 53ce219127
4 changed files with 15 additions and 6 deletions
+2
View File
@@ -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