New scripting features

This commit is contained in:
MihailRis
2024-01-12 12:16:54 +03:00
parent 05fe86e64c
commit faabb8178a
10 changed files with 129 additions and 43 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ LevelController::LevelController(EngineSettings& settings, Level* level)
chunks = std::make_unique<ChunksController>(level, settings.chunks.padding);
player = std::make_unique<PlayerController>(level, settings, blocks.get());
scripting::on_world_load(level);
scripting::on_world_load(level, blocks.get());
}
LevelController::~LevelController() {