mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
another fix (non-mandatory choice from hand)
This commit is contained in:
@@ -749,7 +749,7 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
|
|||||||
inp.setCancelAllowed(!mustChoose);
|
inp.setCancelAllowed(!mustChoose);
|
||||||
inp.setMessage(selectPrompt);
|
inp.setMessage(selectPrompt);
|
||||||
FThreads.setInputAndWait(inp);
|
FThreads.setInputAndWait(inp);
|
||||||
c = inp.getSelected().get(0);
|
c = inp.hasCancelled() ? null : inp.getSelected().get(0);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
List<Card> chosen = GuiChoose.getChoices(selectPrompt, 0, mustChoose ? 1 : 0, fetchList);
|
List<Card> chosen = GuiChoose.getChoices(selectPrompt, 0, mustChoose ? 1 : 0, fetchList);
|
||||||
|
|||||||
Reference in New Issue
Block a user