aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui_menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui_menu.cpp')
-rw-r--r--src/ui_menu.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui_menu.cpp b/src/ui_menu.cpp
index 08d45e7..138a281 100644
--- a/src/ui_menu.cpp
+++ b/src/ui_menu.cpp
@@ -29,7 +29,8 @@ void SDLReceiver::receive(const MainSDLEvent& mse)
case SDL_KEYUP:
if (currentMenu != nullptr && mse.event.key.keysym.sym == SDLK_ESCAPE) {
currentMenu->gotoParent();
- return;
+ } else {
+ clicked = false;
}
break;
default: