From 40d164ea3d8437cd5a06a06d5b89bd938d3dd906 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sat, 29 Apr 2017 18:28:28 -0400 Subject: no more getSystem --- src/ui_menu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ui_menu.cpp') 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: -- cgit v1.2.3