mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
fix non-lighted chunks saving
This commit is contained in:
parent
185f78f019
commit
5b8c2d6162
2 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue