Fix saving never failing (#53)

This commit is contained in:
Anghelo Carvajal 2024-06-21 19:31:16 -04:00 committed by GitHub
parent ce68e96c17
commit c7ab41ec05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -112,7 +112,7 @@ void update_save_file() {
save_file.write(save_context.save_buffer.data(), save_context.save_buffer.size());
}
else {
saving_failed = false;
saving_failed = true;
}
}
if (!saving_failed) {