This commit is contained in:
uecasm 2014-01-24 23:35:59 +13:00
parent 2c6df92d01
commit 502a2b10b6
1 changed files with 3 additions and 0 deletions

View File

@ -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()) {