feat(sdbclient): a few details on the lobby pages
1 files changed, 7 insertions(+), 0 deletions(-) M sdbclient/src/plugins/menu/play/ui.rs
M sdbclient/src/plugins/menu/play/ui.rs => sdbclient/src/plugins/menu/play/ui.rs +7 -0
@@ 184,11 184,18 @@ pub(super) fn show( }); } PlayMenuUIState::InLobbyHost => { if ui.button("Start").clicked() { // patch state to "in-progress" todo!(); } if ui.button("Back").clicked() { rtdmenu.play_menu_ui_state = PlayMenuUIState::Main } } PlayMenuUIState::InLobbyGuest => { ui.label(egui::RichText::new(format!("Host: {}", rtdmenu.cur_game.as_ref().unwrap().host.username))); if ui.button("Back").clicked() { rtdmenu.play_menu_ui_state = PlayMenuUIState::Main }