should finally work hopefully...

This commit is contained in:
Shredder
2026-05-05 01:05:57 +05:00
parent 9c46d7094c
commit 9cd91b1508
3 changed files with 9 additions and 3 deletions

View File

@@ -194,7 +194,9 @@ public:
std::string gatherStats() {
// return "ChunkCache: 1024";
return ("ChunkCache: " + std::to_string(CHUNK_CACHE_WIDTH * CHUNK_CACHE_WIDTH));
std::stringstream ss;
ss << "ChunkCache: " << CHUNK_CACHE_WIDTH * CHUNK_CACHE_WIDTH;
return ss.str();
}
void saveAll(bool onlyUnsaved) {