AGS: Don't show interface_click error dialog on exit

This commit is contained in:
Paul Gilbert
2021-02-07 15:02:07 -08:00
parent 5f0faa1a2a
commit 32981785fd
+4 -2
View File
@@ -226,8 +226,10 @@ void allegro_bitmap_test_release() {
// error.
// "!|" is a special code used to mean that the player has aborted (Alt+X)
void quit(const char *quitmsg) {
strncpy(_G(quit_message), quitmsg, 256);
_G(abort_engine) = true;
if (!_G(abort_engine)) {
strncpy(_G(quit_message), quitmsg, 256);
_G(abort_engine) = true;
}
}
void quit_free() {