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 fefdf85..fe4a728 100644
--- a/pkg/ui/views/game_moves.go
+++ b/pkg/ui/views/game_moves.go
@@ -127,7 +127,7 @@ func (m GameModel) handleDefineTurnMsg() (GameModel, tea.Cmd) {
}
}
- m.network.SendAll([]byte("define-turn"), []byte(string(m.turn)))
+ m.network.SendAll([]byte(string(multiplayer.DefineTurnMessage)), []byte(string(m.turn)))
return m, tea.Batch(cmds...)
}