* Fix the same errors as in the decomp repo.

This commit is contained in:
iProgramInCpp
2023-08-03 22:04:48 +03:00
parent dca2f0b480
commit cd36908905
3 changed files with 12 additions and 0 deletions

View File

@@ -179,6 +179,8 @@ void ChunkCache::saveAll()
m_pChunkStorage->saveAll(m_pLevel, chunksToSave);
}
#ifdef ENH_IMPROVED_SAVING
void ChunkCache::saveUnsaved()
{
if (!m_pChunkStorage) return;
@@ -200,6 +202,8 @@ void ChunkCache::saveUnsaved()
m_pChunkStorage->saveAll(m_pLevel, chunksToSave);
}
#endif
bool ChunkCache::shouldSave()
{
return true;