Removed prints & edited route

This commit is contained in:
Felix Kirchner
2025-04-30 01:04:32 +02:00
parent 8320e7191b
commit 42f0dfe515
3 changed files with 2 additions and 3 deletions

View File

@@ -201,7 +201,6 @@ class GameSession {
/// Sums up the points of all players and stores the result in the
/// playerScores list.
void _sumPoints() {
print('_sumPoints()');
for (int i = 0; i < players.length; i++) {
playerScores[i] = 0;
for (int j = 0; j < roundList.length; j++) {

View File

@@ -285,7 +285,7 @@ class _CreateGameState extends State<CreateGame> {
players: players,
gameHasPointLimit: selectedMode!,
);
Navigator.push(
Navigator.pushReplacement(
context,
CupertinoPageRoute(
builder: (context) =>