From ff3760ea4853e95b1bd4fdc3b100282596dabd65 Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 08:28:40 +0000 Subject: [PATCH] - Missing check in Cost_Payment for computer remove counters. --- src/forge/Cost_Payment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forge/Cost_Payment.java b/src/forge/Cost_Payment.java index e2fe5a414ff..2bc9c4176d4 100644 --- a/src/forge/Cost_Payment.java +++ b/src/forge/Cost_Payment.java @@ -320,7 +320,7 @@ public class Cost_Payment { } // double check if counters available? Real check is in ComputerUtil.canPayAdditionalCosts() - if (cost.getCounterNum() > card.getCounters(cost.getCounterType())){ + if (cost.getSubCounter() && cost.getCounterNum() > card.getCounters(cost.getCounterType())){ System.out.println("Not enough " + cost.getCounterType() + " on " + card.getName()); return; }