Fixed hand sorting in inspect turn

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@457 72836036-5685-4462-b002-a69064685172
This commit is contained in:
Jannis Harder 2011-06-18 03:05:36 +02:00
parent caa49d174b
commit a77a87994f

View file

@ -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;