- More cleanup.

This commit is contained in:
Agetian
2018-02-19 20:50:45 +03:00
parent 5022e96a48
commit 35fa4e7d8f

View File

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