mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
allow cancel for rem counter cost
This commit is contained in:
@@ -150,7 +150,7 @@ public class CostRemoveCounter extends CostPartWithList {
|
||||
if (this.getZone().equals(ZoneType.Battlefield)) {
|
||||
final InputSelectCardToRemoveCounter inp = new InputSelectCardToRemoveCounter(cntRemoved, getCounter(), validCards);
|
||||
inp.setMessage("Remove %d " + getCounter().getName() + " counters from " + getDescriptiveType());
|
||||
|
||||
inp.setCancelAllowed(true);
|
||||
FThreads.setInputAndWait(inp);
|
||||
if(inp.hasCancelled())
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user