forked from cafeberry/cafeberry
LCEMP commit: multiple savefile fixes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user