Keep the pause menu when returning from the multiplayer page

This commit is contained in:
Richard Zink committed 2026-11-04 15:33:30 +01:00
1 parent 7ed630c6f2
commit 2721638910
3 files changed
+28 -12

No files matched your search

+1 -1
View File
@@ -639,7 +639,7 @@ async fn main() {
// ---------------- multiplayer relay: receive messages, send queued requests, update the menu state
app.poll_match();
if matches!(menu.page, Some(Page::Match)) {
if matches!(menu.page, Some(Page::Match { .. })) {
menu.set_match_ui(app.client.ui());
}
if let Some(info) = app.client.take_start() {