Make android save more robust

This commit is contained in:
Yousef Khadadeh 2026-05-17 22:18:53 +03:00
parent 3ba403f30e
commit e8cba9dc15
14 changed files with 61 additions and 33 deletions

View file

@ -84,7 +84,7 @@ class World {
bool clientStillConnecting = false;
void autosave_to_directory(const std::filesystem::path& directoryToSaveAt);
void save_to_file(const std::filesystem::path& filePathToSaveAt);
void save_to_file(const std::filesystem::path& filePathToSaveAt, bool saveThumbnailIfAvailable = true);
void load_from_file(const std::filesystem::path& filePathToLoadFrom, std::string_view buffer);
void undo_with_checks();