]> git.localhorst.tv Git - l2e.git/commitdiff
accept A button to return from capsule change
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Wed, 19 Dec 2012 21:08:37 +0000 (22:08 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Wed, 19 Dec 2012 21:08:37 +0000 (22:08 +0100)
src/menu/CapsuleChangeMenu.cpp

index 24b7187b2cbc34415974e15203463a28212f7ec7..386d22cf79c891834633dfd4f5d4c2a7a8b3b06b 100644 (file)
@@ -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();
        }