* Fixed AI game freeze if it can't pay X mana (#5023);

This commit is contained in:
Oleg Agafonov 2019-06-27 21:17:53 +04:00
parent 2d7c24c46d
commit 2ec3036abe

View file

@ -529,7 +529,7 @@ public final class ManaUtil {
int wantToPay = 0; int wantToPay = 0;
boolean payed = false; boolean payed = false;
while (player.canRespond() && !payed) { if (player.canRespond()) {
int bookmark = game.bookmarkState(); int bookmark = game.bookmarkState();
player.resetStoredBookmark(game); player.resetStoredBookmark(game);