* Eye of the Storm - Fixed possible endless loop if player quits game.

This commit is contained in:
LevelX2 2018-02-14 11:48:22 +01:00
parent 949897632d
commit 014c93e05e

View file

@ -178,7 +178,7 @@ class EyeOfTheStormEffect1 extends OneShotEffect {
} }
boolean continueCasting = true; boolean continueCasting = true;
while (continueCasting) { while (spellController.isInGame() && continueCasting) {
continueCasting = copiedCards.size() > 1 && spellController.chooseUse(outcome, "Cast one of the copied cards without paying its mana cost?", source, game); continueCasting = copiedCards.size() > 1 && spellController.chooseUse(outcome, "Cast one of the copied cards without paying its mana cost?", source, game);
Card cardToCopy; Card cardToCopy;