Commit 78f1395b authored by JoyJ's avatar JoyJ

Judge goes over for no reason.

parent f5ebc4f5
Pipeline #17306 canceled with stages
...@@ -141,7 +141,7 @@ function roundEnded(game) { ...@@ -141,7 +141,7 @@ function roundEnded(game) {
player.selectedWhiteCardId = null; player.selectedWhiteCardId = null;
}); });
game.Judge++; game.Judge++;
if (game.Judge >= game.players.length) { if (game.Judge >= game.maxPlayers) {
game.Judge = 0; game.Judge = 0;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment