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,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;
|
||||||
|
|
Reference in a new issue