feat(tournaments): broadcast tournament type to all observers #17

Merged
joshuafhiggins merged 1 commits from feat-broadcast-tournament-type into main 2025-12-31 21:47:07 +00:00

View File

@@ -545,6 +545,8 @@ impl Server {
*tournament_guard = Some(Arc::new(RwLock::new(tourney)));
let _ = crate::send(&tx, "TOURNAMENT:START:ACK");
self.broadcast_message_all_observers(&format!("TOURNAMENT:START:{}", tournament_type)).await;
Ok(())
}