Added created DateTime to game session class

This commit is contained in:
Felix Kirchner
2025-04-22 19:37:12 +02:00
parent f8c6edc927
commit 553b718976
3 changed files with 7 additions and 5 deletions

View File

@@ -109,7 +109,7 @@ class _ActiveGameViewState extends State<ActiveGameView> {
playerIndices.sort((a, b) {
int scoreA = widget.gameSession.playerScores[a][0];
int scoreB = widget.gameSession.playerScores[b][0];
return scoreA.compareTo(scoreB); // Absteigende Sortierung
return scoreA.compareTo(scoreB);
});
return playerIndices;
}