diff options
Diffstat (limited to 'src/jrummikub')
-rw-r--r-- | src/jrummikub/model/StoneHeap.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jrummikub/model/StoneHeap.java b/src/jrummikub/model/StoneHeap.java index 241cbc7..8199672 100644 --- a/src/jrummikub/model/StoneHeap.java +++ b/src/jrummikub/model/StoneHeap.java @@ -25,7 +25,7 @@ public class StoneHeap { public StoneHeap(GameSettings gameSettings) { heap = new ArrayList<Stone>(); for (int i = 1; i <= 13; i++) { - for (int j = 0; j < 2; j++) { + for (int j = 0; j < gameSettings.getStoneSetNumber(); j++) { for (StoneColor c : EnumSet.allOf(StoneColor.class)) { heap.add(new Stone(i, c)); } |