mirror of
https://github.com/kmitresse/Cards-Rush.git
synced 2026-05-13 17:11:49 +00:00
fix: devWeb - There was one round over
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user