diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jrummikub/control/RoundControl.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jrummikub/control/RoundControl.java b/src/jrummikub/control/RoundControl.java index e1d2e97..5874532 100644 --- a/src/jrummikub/control/RoundControl.java +++ b/src/jrummikub/control/RoundControl.java @@ -165,7 +165,8 @@ public class RoundControl { if (roundState.getLastPlayer() == null) { if (roundState.getGameHeap().getSize() == 0) { - roundState.setLastPlayer(roundState.getNthNextPlayer(-1)); + roundState.setLastPlayer(roundState.getNthNextPlayer(0)); + roundState.nextPlayer(); roundState.nextTurn(); } else { roundState.nextPlayer(); |