mirror of
https://github.com/kmitresse/Cards-Rush.git
synced 2026-07-09 13:27:45 +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() {
|
public boolean nextRound() {
|
||||||
currentRound++;
|
currentRound++;
|
||||||
|
|
||||||
if (currentRound > nbRounds) gameState = GameState.FINISHED;
|
if (currentRound >= nbRounds) gameState = GameState.FINISHED;
|
||||||
return gameState != GameState.FINISHED;
|
return gameState != GameState.FINISHED;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user