From 2dcb36584154b2dc3a5ad93cf1db1f44a0a28cf8 Mon Sep 17 00:00:00 2001 From: Maxmtg Date: Sat, 13 Apr 2013 07:17:13 +0000 Subject: [PATCH] Allow cancel for sacrifice cost payment - http://www.slightlymagic.net/forum/viewtopic.php?p=115356#p115356 --- src/main/java/forge/card/cost/CostSacrifice.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/forge/card/cost/CostSacrifice.java b/src/main/java/forge/card/cost/CostSacrifice.java index dccbdb2f0e3..4b1c0a75e25 100644 --- a/src/main/java/forge/card/cost/CostSacrifice.java +++ b/src/main/java/forge/card/cost/CostSacrifice.java @@ -164,6 +164,7 @@ public class CostSacrifice extends CostPartWithList { InputSelectCards inp = new InputSelectCardsFromList(c, c, list); inp.setMessage("Select a " + this.getDescriptiveType() + " to sacrifice (%d left)"); + inp.setCancelAllowed(true); FThreads.setInputAndWait(inp); if ( inp.hasCancelled() ) return false;