From a77a87994f625bb35dc64a129029d9716acf05ef Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Sat, 18 Jun 2011 03:05:36 +0200 Subject: Fixed hand sorting in inspect turn git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@457 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/control/RoundControl.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/jrummikub/control') 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; -- cgit v1.2.3