From: Daniel Karbach Date: Wed, 19 Dec 2012 21:08:37 +0000 (+0100) Subject: accept A button to return from capsule change X-Git-Url: http://git.localhorst.tv/?p=l2e.git;a=commitdiff_plain;h=a995503b6db67973d53d0c93d28607e87e49f011 accept A button to return from capsule change --- diff --git a/src/menu/CapsuleChangeMenu.cpp b/src/menu/CapsuleChangeMenu.cpp index 24b7187..386d22c 100644 --- a/src/menu/CapsuleChangeMenu.cpp +++ b/src/menu/CapsuleChangeMenu.cpp @@ -51,7 +51,8 @@ void CapsuleChangeMenu::OnResize(int width, int height) { void CapsuleChangeMenu::HandleEvents(const Input &input) { - if (input.JustPressed(Input::ACTION_B)) { + if (input.JustPressed(Input::ACTION_A) + || input.JustPressed(Input::ACTION_B)) { Ctrl().PopState(); }