Enter key no longer quits the game in the Quit screen

This commit is contained in:
Zeno Rogue
2025-11-11 22:01:30 +01:00
parent 0c4f601b0b
commit e4269a8fda
+1 -1
View File
@@ -619,7 +619,7 @@ EX void handleKeyQuit(int sym, int uni) {
sym = 0;
#endif
if(sym == SDLK_RETURN || sym == SDLK_KP_ENTER || sym == SDLK_F10) {
if(sym == SDLK_F10) {
if(needConfirmation()) pushScreen([] {
dialog::confirm_dialog(
XLAT("This will exit HyperRogue without saving your current game. Are you sure?") + "\n\n" +