1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-20 04:48:06 +00:00

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

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" +