Live location tracking and playback for the game "manhunt"

Make host leaving a lobby close the lobby

bwc9876.dev a23c1b14 9aa686d9

verified
+7 -2
-1
TODO.md
··· 1 1 # TODO 2 2 3 3 - [ ] Start on start game and game settings buttons 4 - - [ ] If host leaves, kick all from lobby 5 4
+7 -1
manhunt-app/src/state.rs
··· 222 222 } 223 223 Ok(None) => { 224 224 info!("User quit lobby"); 225 + state.quit_to_menu(app_game).await; 225 226 } 226 227 Err(why) => { 227 228 error!("Lobby Error: {why}"); 228 - error_dialog(&app_game, &format!("Error joining the lobby: {why}")); 229 + error_dialog( 230 + &app_game, 231 + &format!( 232 + "Encountered an error while in the lobby. you have been disconnected:\n\n{why}" 233 + ), 234 + ); 229 235 state.quit_to_menu(app_game).await; 230 236 } 231 237 }