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