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,6 +198,7 @@ public class RoundControl {
private void endOfTurn() { private void endOfTurn() {
turnControl = null; turnControl = null;
roundState.getActivePlayer().setHand(clonedHand);
if (roundState.getTurnNumber() >= 1) { if (roundState.getTurnNumber() >= 1) {
checkTurn(); checkTurn();
} }
@ -225,8 +226,6 @@ public class RoundControl {
} }
private void checkTurn() { private void checkTurn() {
roundState.getActivePlayer().setHand(clonedHand);
if (!clonedTable.isValid()) { if (!clonedTable.isValid()) {
rejectMove(); rejectMove();
return; return;