fix: remove double sending board state

This commit is contained in:
2026-08-17 19:44:09 +02:00
parent a8a6e11350
commit 8ee7242726
4 changed files with 13 additions and 36 deletions

View File

@@ -96,13 +96,11 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
match msg {
Some(ClientData::GameStart {
identity,
board_view,
}) => {
info!(
"Got new identity: {} and board_view. Game is about to start!",
"Got new identity: {}",
identity
);
println!("{}", board_view.to_string(&identity.id));
indentity = Some(identity);
}