refactor PlayerController

This commit is contained in:
MihailRis
2024-11-03 12:17:42 +03:00
parent 1777600275
commit 315b4b44e1
3 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ LevelController::LevelController(Engine* engine, std::unique_ptr<Level> level)
this->level.get(), settings.chunks.padding.get()
)),
player(std::make_unique<PlayerController>(
engine, this->level.get(), blocks.get()
settings, this->level.get(), blocks.get()
)) {
scripting::on_world_load(this);
}