From 2ec3036abe5c3e8ac25e4a426e1e33094d610b79 Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Thu, 27 Jun 2019 21:17:53 +0400 Subject: [PATCH] * Fixed AI game freeze if it can't pay X mana (#5023); --- Mage/src/main/java/mage/util/ManaUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage/src/main/java/mage/util/ManaUtil.java b/Mage/src/main/java/mage/util/ManaUtil.java index 6ef50aee7d..d153fe9315 100644 --- a/Mage/src/main/java/mage/util/ManaUtil.java +++ b/Mage/src/main/java/mage/util/ManaUtil.java @@ -529,7 +529,7 @@ public final class ManaUtil { int wantToPay = 0; boolean payed = false; - while (player.canRespond() && !payed) { + if (player.canRespond()) { int bookmark = game.bookmarkState(); player.resetStoredBookmark(game);