Fixes leave on the server and reworked login flow.

This commit is contained in:
2025-06-27 14:45:36 +02:00
parent fbe456a0f5
commit f0883a0ff0
31 changed files with 472 additions and 71 deletions

View File

@@ -2,11 +2,13 @@ pub mod flows;
pub mod domain;
use flows::{main::Main, Flow, GamenightState};
use clear_screen;
#[tokio::main]
async fn main() {
let mut state = GamenightState::new();
let mainflow = Main::new();
clear_screen::clear();
if let Err(x) = mainflow.run(&mut state).await {
println!("{}", x.error);
}