- "Doors of Durin" should no longer cancel a game if there is a character without race.

This commit is contained in:
marcins78@gmail.com
2013-03-19 23:31:58 +00:00
parent fbea744aa2
commit 08c8f3ec94
2 changed files with 3 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
- "Bolstered Spirits" is now a Spell (per card text). - "Bolstered Spirits" is now a Spell (per card text).
- Cards that prevent adding burdens, now should do so correctly. - Cards that prevent adding burdens, now should do so correctly.
- "Cleaved" can now be transferred only form Support area. - "Cleaved" can now be transferred only form Support area.
- "Doors of Durin" should no longer cancel a game if there is a character without race.
<b>15 Mar. 2013</b> <b>15 Mar. 2013</b>
- "Lothlorien" correctly requires to spot 2 elves, instead of just one to remove the burden. - "Lothlorien" correctly requires to spot 2 elves, instead of just one to remove the burden.

View File

@@ -62,6 +62,8 @@ public class Card13_190 extends AbstractNewSite {
} }
final Integer thisRaceCount = counts.get(race); final Integer thisRaceCount = counts.get(race);
if (thisRaceCount == null)
return false;
for (Map.Entry<Race, Integer> raceCount : counts.entrySet()) { for (Map.Entry<Race, Integer> raceCount : counts.entrySet()) {
if (raceCount.getValue() > thisRaceCount) if (raceCount.getValue() > thisRaceCount)
return false; return false;