feat(tournaments & demo mode): demo mode can be changed at runtime & GET:TOURNAMENT_STATUS returns the tournament type if true #15

Merged
joshuafhiggins merged 4 commits from feat-set-demo-mode-at-runtime into main 2025-12-31 21:51:58 +00:00
Showing only changes of commit cba7dd66f3 - Show all commits

View File

@@ -540,7 +540,7 @@ impl Server {
drop(clients_guard);
let mut tourney = match self.tournament_type.as_str() {
"round_robin" => RoundRobin::new(&ready_players),
"RoundRobin" => RoundRobin::new(&ready_players),
&_ => RoundRobin::new(&ready_players),
};
tourney.start(&self).await;