diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2017-04-29 18:28:28 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2017-04-29 18:28:28 -0400 |
commit | 40d164ea3d8437cd5a06a06d5b89bd938d3dd906 (patch) | |
tree | ec22853ca9a18706a3318ea9d16464d9a36a7419 /src/ui_menu.cpp | |
parent | 18380eb2e6443c2736b4958b01e7ba2fe2cfa318 (diff) |
no more getSystem
Diffstat (limited to 'src/ui_menu.cpp')
-rw-r--r-- | src/ui_menu.cpp | 3 |
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: |