Skip to content

Commit

Permalink
Fix no game over pop-up sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
calcitem committed Sep 15, 2024
1 parent 2d10601 commit edb2bb5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ui/flutter_app/lib/game_page/widgets/game_board.dart
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,11 @@ class _GameBoardState extends State<GameBoard>
.headerTipNotifier
.showTip(strNoBestMoveErr);
break;
case EngineGameIsOver():
GameController()
.gameResultNotifier
.showResult(force: true);
break;
default:
break;
}
Expand Down

0 comments on commit edb2bb5

Please sign in to comment.