F7 uses the normal exit path

This commit is contained in:
Gwenhael Le Moine 2024-04-13 21:55:34 +02:00
parent 31533e8725
commit 8603d32c79
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -447,8 +447,7 @@ bool gui_refresh()
press_ALPHA(); press_ALPHA();
break; break;
case SDL_SCANCODE_F7: case SDL_SCANCODE_F7:
gui_exit(); please_exit = true;
exit( 0 );
break; break;
default: default:
break; break;