diff --git a/intro_gui.c b/intro_gui.c index 41cf459945..f53ab41451 100644 --- a/intro_gui.c +++ b/intro_gui.c @@ -210,6 +210,10 @@ static void AskAbandonGameWndProc(Window *w, WindowEvent *e) { break; } break; + case WE_KEYPRESS: /* Exit game on pressing 'Enter' */ + if (e->keypress.keycode == WKC_RETURN) + _exit_game = true; + break; } }