From 23ab2deae4ea8c4726cfbf6bf59beac78cd14fc8 Mon Sep 17 00:00:00 2001 From: Trevor Slocum Date: Thu, 18 Jul 2024 09:13:02 -0700 Subject: [PATCH] Send board event before roll event when determining which player goes first --- pkg/server/server_command.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/server/server_command.go b/pkg/server/server_command.go index 1bad840..9d040b4 100644 --- a/pkg/server/server_command.go +++ b/pkg/server/server_command.go @@ -697,6 +697,7 @@ COMMANDS: ev.Player = string(clientGame.Player2.Name) } clientGame.eachClient(func(client *serverClient) { + clientGame.sendBoard(client, false) client.sendEvent(ev) }) }