mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- 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).
This commit is contained in:
@@ -284,10 +284,6 @@ public class VStack implements IVDoc<CStack> {
|
||||
}
|
||||
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<CStack> {
|
||||
}
|
||||
else {
|
||||
controller.getMatchUI().setShouldAlwaysDeclineTrigger(triggerID);
|
||||
if (controller.getMatchUI().getGameView().peekStack() == item) {
|
||||
//auto-no if ability is on top of stack
|
||||
controller.getMatchUI().getGameController().selectButtonCancel();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user