fix: devWeb - There was one round over

This commit is contained in:
kmitresse
2024-04-30 17:53:34 +02:00
parent 63be0be8da
commit c6d3e46128
@@ -364,7 +364,7 @@ public class Game implements Serializable {
public boolean nextRound() {
currentRound++;
if (currentRound > nbRounds) gameState = GameState.FINISHED;
if (currentRound >= nbRounds) gameState = GameState.FINISHED;
return gameState != GameState.FINISHED;
}
}