Refactoring

This commit is contained in:
2025-06-08 20:39:36 +02:00
parent bcca541f3a
commit 0e1a6cdeaf
4 changed files with 16 additions and 16 deletions

View File

@@ -290,7 +290,7 @@ class _CreateGameState extends State<CreateGame> {
caboPenalty: Globals.caboPenalty,
isPointsLimitEnabled: selectedMode!,
);
globals.addGameSession(gameSession);
gameManager.addGameSession(gameSession);
LocalStorageService.saveGameSessions();
if (context.mounted) {
Navigator.pushReplacement(