mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix: EVT_CHUNK_HIDDEN not triggered
This commit is contained in:
parent
7b0db7b660
commit
6dc73646f0
1 changed files with 1 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ Chunks::Chunks(
|
|||
areaMap.setCenter(ox-w/2, oz-d/2);
|
||||
areaMap.setOutCallback([this](int, int, const auto& chunk) {
|
||||
save(chunk.get());
|
||||
this->level->events->trigger(EVT_CHUNK_HIDDEN, chunk.get());
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue