mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
mini-fix
This commit is contained in:
parent
1038a79b78
commit
b2872650d6
3 changed files with 3 additions and 3 deletions
|
|
@ -33,7 +33,7 @@ void ChunksLoader::_thread(){
|
|||
if (state == LOAD){
|
||||
chunks.putChunk(chunk);
|
||||
if (!chunk->loaded){
|
||||
WorldGenerator::generate(chunk->voxels, chunk->x, chunk->y, chunk->z, world.load()->seed);
|
||||
WorldGenerator::generate(chunk->voxels, chunk->x, chunk->y, chunk->z, world->seed);
|
||||
}
|
||||
|
||||
lighting.onChunkLoaded(chunk->x, chunk->y, chunk->z, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue