summaryrefslogtreecommitdiff
path: root/pkg/ui/views/game_moves.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/ui/views/game_moves.go')
-rw-r--r--pkg/ui/views/game_moves.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/ui/views/game_moves.go b/pkg/ui/views/game_moves.go
index ed11d30..70b2dc7 100644
--- a/pkg/ui/views/game_moves.go
+++ b/pkg/ui/views/game_moves.go
@@ -84,7 +84,7 @@ func (m GameModel) handleChessMoveMsg(msg ChessMoveMsg) (GameModel, tea.Cmd) {
cmds := []tea.Cmd{m.getMoves(), m.updateMovesListCmd()}
if m.chessGame.Outcome() != chess.NoOutcome {
- cmds = append(cmds, m.endGame(m.chessGame.Outcome().String()))
+ cmds = append(cmds, m.endGame(m.chessGame.Outcome().String(), false))
}
return m, tea.Batch(cmds...)