mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Fixed AI game freeze if it can't pay X mana (#5023);
This commit is contained in:
parent
2d7c24c46d
commit
2ec3036abe
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue