lighting fix

This commit is contained in:
clasher113 2026-05-29 19:16:20 +03:00
parent 31a90bd911
commit 0bbde3a778
4 changed files with 69 additions and 67 deletions

View file

@ -2,6 +2,7 @@
#include <algorithm>
#include "content/Content.hpp"
#include "debug/Logger.hpp"
#include "engine/Engine.hpp"
#include "engine/EnginePaths.hpp"
@ -41,7 +42,7 @@ LevelController::LevelController(
if (clientPlayer) {
chunks->lighting = std::make_unique<Lighting>(
level->content, *clientPlayer->chunks
*level->content.getIndices(), *clientPlayer->chunks
);
}
blocks = std::make_unique<BlocksController>(