Merge branch 'main' into physics-upgrade

This commit is contained in:
MihailRis 2026-02-26 18:02:42 +03:00
commit 454aa20546
9 changed files with 32 additions and 12 deletions

View file

@ -157,7 +157,7 @@ void WorldRegions::put(Chunk* chunk, std::vector<ubyte> entitiesData) {
return;
}
assert(chunk != nullptr);
if (!chunk->flags.lighted) {
if (!chunk->flags.ready) {
return;
}
bool lightsUnsaved = !chunk->flags.loadedLights && doWriteLights;