fix world previews generation

This commit is contained in:
MihailRis 2025-11-22 19:23:46 +03:00
parent acea4604fe
commit 6bc549dd90
5 changed files with 38 additions and 25 deletions

View file

@ -122,6 +122,7 @@ void LevelController::update(float delta, bool pause) {
}
void LevelController::processBeforeQuit() {
preQuitCallbacks.notify();
// todo: move somewhere else
for (auto player : level->players->getAll()) {
if (player->chunks) {