diff options
author | Santo Cariotti <santo@dcariotti.me> | 2025-04-24 18:19:39 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2025-04-24 18:19:39 +0200 |
commit | ded19d8613f67a9a10834e2c4f6ed398d54c5638 (patch) | |
tree | 4902a9ce5937b7d144b996b9122d30df61b83168 /pkg/ui/views/game_moves.go | |
parent | 162da285062bfdd47fa8254483a45a68f1cce421 (diff) |
Fix winner text on co-op 2vs2
Diffstat (limited to 'pkg/ui/views/game_moves.go')
-rw-r--r-- | pkg/ui/views/game_moves.go | 2 |
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...) |