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:
parent
caa49d174b
commit
a77a87994f
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue