]> git.localhorst.tv Git - l2e.git/blobdiff - src/menu/CapsuleChangeMenu.cpp
accept A button to return from capsule change
[l2e.git] / 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();
        }