and now a correct one!

This commit is contained in:
Maxmtg
2013-04-05 10:29:11 +00:00
parent 5430a5f119
commit 8b815eba16

View File

@@ -140,8 +140,8 @@ public class CostPartMana extends CostPart {
if(!inpPayment.isPaid()) if(!inpPayment.isPaid())
return false; return false;
} }
if (this.getAmountOfX() > 0 && !xWasBilled) { if (this.getAmountOfX() > 0) {
if( !ability.isAnnouncing("X") ) { if( !ability.isAnnouncing("X") && !xWasBilled) {
source.setXManaCostPaid(0); source.setXManaCostPaid(0);
InputPayment inpPayment = new InputPayManaX(ability, this.getAmountOfX(), this.canXbe0()); InputPayment inpPayment = new InputPayManaX(ability, this.getAmountOfX(), this.canXbe0());
FThreads.setInputAndWait(inpPayment); FThreads.setInputAndWait(inpPayment);