LCEMP commit: multiple savefile fixes

This commit is contained in:
2026-08-14 14:39:13 +03:00
parent feeff55924
commit 494235878e
13 changed files with 94 additions and 32 deletions
+2
View File
@@ -151,8 +151,10 @@ LevelChunk *ServerChunkCache::create(int x, int z, bool asyncPostProcess) // 4J
if( ( chunk == NULL ) || ( chunk->x != x ) || ( chunk->z != z ) )
{
bool wasLoaded = false;
EnterCriticalSection(&m_csLoadCreate);
chunk = load(x, z);
wasLoaded = (chunk != NULL);
if (chunk == NULL)
{
if (source == NULL)