mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
New scripting features
This commit is contained in:
parent
05fe86e64c
commit
faabb8178a
10 changed files with 129 additions and 43 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue