From 8dae75a9eeb89ade41aa28d6636f4b9a32d657b7 Mon Sep 17 00:00:00 2001 From: Sol Date: Sun, 16 Oct 2011 21:51:42 +0000 Subject: [PATCH] Rishadan Footpad no longer overrides Sacrifice Input, but still prompts twice for the Unless cost. --- .../java/forge/gui/input/Input_PayManaCost_Ability.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/java/forge/gui/input/Input_PayManaCost_Ability.java b/src/main/java/forge/gui/input/Input_PayManaCost_Ability.java index 97e68485a96..56145db656b 100644 --- a/src/main/java/forge/gui/input/Input_PayManaCost_Ability.java +++ b/src/main/java/forge/gui/input/Input_PayManaCost_Ability.java @@ -109,10 +109,8 @@ public class Input_PayManaCost_Ability extends Input { if (manaCost.isPaid()) { resetManaCost(); AllZone.getHumanPlayer().getManaPool().clearPay(fakeAbility, false); - + stop(); paidCommand.execute(); - - AllZone.getInputControl().resetInput(); } } @@ -121,16 +119,16 @@ public class Input_PayManaCost_Ability extends Input { public void selectButtonCancel() { resetManaCost(); AllZone.getHumanPlayer().getManaPool().unpaid(fakeAbility, true); + stop(); unpaidCommand.execute(); - AllZone.getInputControl().resetInput(); } /** {@inheritDoc} */ @Override public void selectButtonOK() { if (showOnlyOKButton) { + stop(); unpaidCommand.execute(); - AllZone.getInputControl().resetInput(); } }