diff --git a/src/ui/flutter_app/lib/widgets/game_page.dart b/src/ui/flutter_app/lib/widgets/game_page.dart index aef9da55..390f2937 100644 --- a/src/ui/flutter_app/lib/widgets/game_page.dart +++ b/src/ui/flutter_app/lib/widgets/game_page.dart @@ -554,9 +554,11 @@ class _GamePageState extends State with RouteAware { return; } + bool isTopLevel = (Config.skillLevel == 20); // TODO: 20 + if (result == GameResult.win && + !isTopLevel && Game.instance.engineType == EngineType.humanVsAi) { - bool isTopLevel = (Config.skillLevel == 20); // TODO: 20 var contentStr = getGameOverReasonString( Game.instance.position.gameOverReason, Game.instance.position.winner);