summaryrefslogtreecommitdiff
path: root/lib/game_over_stats.dart
diff options
context:
space:
mode:
Diffstat (limited to 'lib/game_over_stats.dart')
-rw-r--r--lib/game_over_stats.dart4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/game_over_stats.dart b/lib/game_over_stats.dart
index a80617c..0e73024 100644
--- a/lib/game_over_stats.dart
+++ b/lib/game_over_stats.dart
@@ -50,8 +50,8 @@ class GameOverStats extends StatelessWidget {
]),
TextButton(
onPressed: () {
- Route route = MaterialPageRoute(
- builder: (context) => Level(stepmaniaFolderPath: simfile.directoryPath));
+ Route route =
+ MaterialPageRoute(builder: (context) => Level(simfile));
Navigator.pushReplacement(context, route);
},
child: Text('Retry'))