Fixed bug with playing confetti on cancel button

This commit is contained in:
2025-07-23 11:26:09 +02:00
parent 016dd3159a
commit fadc99564f
3 changed files with 4 additions and 2 deletions

View File

@@ -453,6 +453,8 @@ class _ActiveGameViewState extends State<ActiveGameView> {
),
);
if (round == -1) return;
if (widget.gameSession.isGameFinished && context.mounted) {
_playFinishAnimation(context);
}