summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/control')
-rw-r--r--src/jrummikub/control/RoundControl.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/jrummikub/control/RoundControl.java b/src/jrummikub/control/RoundControl.java
index 84ae8c6..3c50819 100644
--- a/src/jrummikub/control/RoundControl.java
+++ b/src/jrummikub/control/RoundControl.java
@@ -198,9 +198,10 @@ public class RoundControl {
private void endOfTurn() {
turnControl = null;
+ roundState.getActivePlayer().setHand(clonedHand);
if (roundState.getTurnNumber() >= 1) {
checkTurn();
- }
+ }
if (roundState.getLastPlayer() == null) {
if (roundState.getGameHeap().getSize() == 0) {
@@ -225,8 +226,6 @@ public class RoundControl {
}
private void checkTurn() {
- roundState.getActivePlayer().setHand(clonedHand);
-
if (!clonedTable.isValid()) {
rejectMove();
return;