diff --git a/src/gui.c b/src/gui.c index b4b2548..9e50843 100644 --- a/src/gui.c +++ b/src/gui.c @@ -447,8 +447,7 @@ bool gui_refresh() press_ALPHA(); break; case SDL_SCANCODE_F7: - gui_exit(); - exit( 0 ); + please_exit = true; break; default: break;