mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
fixed infinite loop in Play AF
This commit is contained in:
@@ -396,7 +396,7 @@ public final class AbilityFactoryPlay {
|
|||||||
sb.append("Do you want to play " + tgtCard + "?");
|
sb.append("Do you want to play " + tgtCard + "?");
|
||||||
if (controller.isHuman() && optional
|
if (controller.isHuman() && optional
|
||||||
&& !GameActionUtil.showYesNoDialog(source, sb.toString())) {
|
&& !GameActionUtil.showYesNoDialog(source, sb.toString())) {
|
||||||
i--;
|
// i--; // This causes an infinite loop (ArsenalNut)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// lands will be played
|
// lands will be played
|
||||||
|
|||||||
Reference in New Issue
Block a user