feat: cameras saving/loading

This commit is contained in:
MihailRis
2024-07-11 22:45:57 +03:00
parent 45c4da048c
commit a013e7eefd
8 changed files with 66 additions and 17 deletions
+1
View File
@@ -59,6 +59,7 @@ void LevelController::saveWorld() {
level->getWorld()->wfile->createDirectories();
logger.info() << "writing world";
scripting::on_world_save();
level->onSave();
level->getWorld()->write(level.get());
}