From 49baa68ea1364860203048d1340306a9ba76173b Mon Sep 17 00:00:00 2001 From: Mr-Wiseguy Date: Sun, 2 Jun 2024 12:01:30 -0400 Subject: [PATCH] Fix bug with saving error detection, changed saving error message --- src/recomp/pi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/recomp/pi.cpp b/src/recomp/pi.cpp index 2bad386..e4e2599 100644 --- a/src/recomp/pi.cpp +++ b/src/recomp/pi.cpp @@ -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) { - recomp::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."); + recomp::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."); } }