mirror of
https://github.com/kmitresse/Cards-Rush.git
synced 2026-05-13 17:11:49 +00:00
fix(DevWeb): End the game at the first round
This commit is contained in:
@@ -368,7 +368,7 @@ public class Game implements Serializable {
|
||||
currentRound++;
|
||||
|
||||
if (currentRound > nbRounds) gameState = GameState.FINISHED;
|
||||
return (currentRound > nbRounds);
|
||||
return gameState != GameState.FINISHED;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user