Keep the pause menu when returning from the multiplayer page
This commit is contained in:
1 parent
7ed630c6f2
commit
2721638910
3 files changed
+28
-12
No files matched your search
+1
-1
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user