Added chunks counter to debug info screen

This commit is contained in:
MihailRis
2022-06-29 15:18:31 +03:00
committed by GitHub
parent 265ebc0927
commit 191b88192b
5 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ bool ChunksController::loadVisible(WorldFiles* worldFiles){
if (worldFiles->getChunk(chunk->x, chunk->z, (char*)chunk->voxels))
chunk->loaded = true;
chunks->chunks[index] = chunk;
chunks->putChunk(chunk);
Chunk* closes[27];
for (int i = 0; i < 27; i++)