diff options
Diffstat (limited to 'src/jrummikub/control')
-rw-r--r-- | src/jrummikub/control/RoundControl.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/jrummikub/control/RoundControl.java b/src/jrummikub/control/RoundControl.java index 231b860..efa6f62 100644 --- a/src/jrummikub/control/RoundControl.java +++ b/src/jrummikub/control/RoundControl.java @@ -66,7 +66,7 @@ public class RoundControl { void deal() { for (int i = 0; i < gameState.getPlayerCount(); i++) { - IHand hand = gameState.getPlayer(i).getHand(); + IHand hand = gameState.getNthNextPlayer(i).getHand(); for (int j = 0; j < 7; j++) { hand.drop(gameState.getGameHeap().drawStone(), new Position(j, 0)); hand.drop(gameState.getGameHeap().drawStone(), new Position(j, 1)); @@ -81,8 +81,6 @@ public class RoundControl { if (clonedTable.isValid()) { gameState.setTable(clonedTable); - System.err.println(gameState.getActivePlayer().getName()); - System.err.println(gameState.getActivePlayer().getHand().getSize()); if (gameState.getActivePlayer().getHand().getSize() == 0) { win(); return; |