fix non-lighted chunks saving

This commit is contained in:
MihailRis 2026-02-25 18:38:38 +03:00
parent 185f78f019
commit 5b8c2d6162
2 changed files with 2 additions and 2 deletions

View file

@ -186,7 +186,7 @@ void BlocksController::randomTick(int tickid, int parts, uint padding) {
continue;
}
auto& chunk = chunks.getChunks()[index];
if (chunk == nullptr || !chunk->flags.lighted) {
if (chunk == nullptr || !chunk->flags.ready) {
continue;
}
if (chunk->lastRandomTickId == randomTickId) {