From 361ffc91a555ca8b5de840530a889675efdc6b45 Mon Sep 17 00:00:00 2001 From: Agetian Date: Sun, 4 Oct 2015 15:53:36 +0000 Subject: [PATCH] - Fixed the "Always No" context menu button auto yielding until end of turn. - Made the "Always Yes"/"Always No" buttons not automatically pass priority such that the user has a chance to set up an auto yield the same turn by clicking the stack item again and choosing "Auto Yield" if necessary (or, if the point was merely setting up an Always Yes/No option, to pass priority manually). --- .../src/main/java/forge/screens/match/views/VStack.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/forge-gui-desktop/src/main/java/forge/screens/match/views/VStack.java b/forge-gui-desktop/src/main/java/forge/screens/match/views/VStack.java index e14e5500d32..1ad2827b86c 100644 --- a/forge-gui-desktop/src/main/java/forge/screens/match/views/VStack.java +++ b/forge-gui-desktop/src/main/java/forge/screens/match/views/VStack.java @@ -284,10 +284,6 @@ public class VStack implements IVDoc { } else { controller.getMatchUI().setShouldAlwaysAcceptTrigger(triggerID); - if (controller.getMatchUI().getGameView().peekStack() == item) { - //auto-yes if ability is on top of stack - controller.getMatchUI().getGameController().selectButtonOk(); - } } } }); @@ -302,10 +298,6 @@ public class VStack implements IVDoc { } else { controller.getMatchUI().setShouldAlwaysDeclineTrigger(triggerID); - if (controller.getMatchUI().getGameView().peekStack() == item) { - //auto-no if ability is on top of stack - controller.getMatchUI().getGameController().selectButtonCancel(); - } } } });