mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Allow cancelling ability of Nullmage Shephard while in the process of selecting creatures to tap
This commit is contained in:
@@ -653,9 +653,9 @@ public class HumanCostDecision extends CostDecisionMakerBase {
|
|||||||
inp.setCancelAllowed(true);
|
inp.setCancelAllowed(true);
|
||||||
inp.showAndWait();
|
inp.showAndWait();
|
||||||
|
|
||||||
if (inp.hasCancelled())
|
if (inp.hasCancelled()) {
|
||||||
return null;
|
return null;
|
||||||
|
}
|
||||||
return PaymentDecision.card(inp.getSelected());
|
return PaymentDecision.card(inp.getSelected());
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1090,6 +1090,7 @@ public class HumanCostDecision extends CostDecisionMakerBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
InputSelectCardsFromList inp = new InputSelectCardsFromList(controller, c, c, typeList);
|
InputSelectCardsFromList inp = new InputSelectCardsFromList(controller, c, c, typeList);
|
||||||
|
inp.setCancelAllowed(true);
|
||||||
inp.setMessage("Select a " + cost.getDescriptiveType() + " to tap (%d left)");
|
inp.setMessage("Select a " + cost.getDescriptiveType() + " to tap (%d left)");
|
||||||
inp.showAndWait();
|
inp.showAndWait();
|
||||||
if (inp.hasCancelled()) {
|
if (inp.hasCancelled()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user