- More cleanup.

This commit is contained in:
Agetian
2018-02-19 20:56:05 +03:00
parent 35fa4e7d8f
commit 83242e1fa9

View File

@@ -948,7 +948,7 @@ public class SpecialCardAi {
boolean hasBridge = false;
for (Card c : ai.getCardsIn(ZoneType.Battlefield)) {
// Do we have a card in play that makes us want to empty out hand?
if (c.hasSVar("PreferredHandSize") && ai.getGame().getCardsIn(ZoneType.Hand).size() > Integer.parseInt(c.getSVar("PreferredHandSize"))) {
if (c.hasSVar("PreferredHandSize") && ai.getCardsIn(ZoneType.Hand).size() > Integer.parseInt(c.getSVar("PreferredHandSize"))) {
hasBridge = true;
break;
}