Fix bug with saving error detection, changed saving error message

This commit is contained in:
dcvz 2024-06-02 19:26:01 +02:00
parent 6c5eeafbd4
commit a6c00441d8

View file

@ -116,10 +116,10 @@ void update_save_file() {
}
}
if (!saving_failed) {
saving_failed = recomp::finalize_output_file_with_backup(get_save_file_path());
saving_failed = !recomp::finalize_output_file_with_backup(get_save_file_path());
}
if (saving_failed) {
ultramodern::error_handling::message_box("Failed to write to the save file. Check your file permissions. If you have moved your appdata folder to Dropbox or similar, this can cause issues.");
ultramodern::error_handling::message_box("Failed to write to the save file. Check your file permissions and whether the save folder has been moved to Dropbox or similar, as this can cause issues.");
}
}