update ChunksStorage

This commit is contained in:
MihailRis
2024-12-11 16:30:19 +03:00
parent 91fa2838d6
commit 436bfd24ba
6 changed files with 46 additions and 44 deletions
-4
View File
@@ -62,10 +62,6 @@ Level::Level(
);
lighting = std::make_unique<Lighting>(content, chunks.get());
events->listen(EVT_CHUNK_HIDDEN, [this](lvl_event_type, Chunk* chunk) {
this->chunksStorage->remove(chunk->x, chunk->z);
});
inventories = std::make_unique<Inventories>(*this);
}