Fixes #33.
This commit is contained in:
parent
2c6df92d01
commit
502a2b10b6
|
@ -1007,6 +1007,9 @@ public class Game {
|
||||||
* @return True if judging should begin.
|
* @return True if judging should begin.
|
||||||
*/
|
*/
|
||||||
private boolean startJudging() {
|
private boolean startJudging() {
|
||||||
|
if (state != GameState.PLAYING) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (playedCards.size() == roundPlayers.size()) {
|
if (playedCards.size() == roundPlayers.size()) {
|
||||||
boolean startJudging = true;
|
boolean startJudging = true;
|
||||||
for (final List<WhiteCard> cards : playedCards.cards()) {
|
for (final List<WhiteCard> cards : playedCards.cards()) {
|
||||||
|
|
Loading…
Reference in New Issue