summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/luxons/sevenwonders/game/data/definitions/DecksDefinition.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/luxons/sevenwonders/game/data/definitions/DecksDefinition.java b/src/main/java/org/luxons/sevenwonders/game/data/definitions/DecksDefinition.java
index aaa44475..4a7888a0 100644
--- a/src/main/java/org/luxons/sevenwonders/game/data/definitions/DecksDefinition.java
+++ b/src/main/java/org/luxons/sevenwonders/game/data/definitions/DecksDefinition.java
@@ -72,6 +72,6 @@ public class DecksDefinition implements Definition<Decks> {
private static List<Card> createGuildCards(List<CardDefinition> defs, Settings settings) {
List<Card> guild = defs.stream().map((def) -> def.create(settings)).collect(Collectors.toList());
Collections.shuffle(guild, settings.getRandom());
- return guild.subList(0, settings.getNbPlayers());
+ return guild.subList(0, settings.getNbPlayers() + 2);
}
}
bgstack15