Menu-FN: Hide menu upon connecting to a server, and automatically refresh serverlist when opening the Internet Games menu
This commit is contained in:
parent
07173b3c7b
commit
602fa9fd93
2 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016-2022 Vera Visions LLC.
|
||||
* Copyright (c) 2016-2023 Vera Visions LLC.
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -52,6 +52,7 @@ inet_btnjoin(void)
|
|||
RichPresence_Clear();
|
||||
RichPresence_Set("connect", strcat("+connect ", addr));
|
||||
g_menupage = PAGE_MULTIPLAYER;
|
||||
m_hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016-2022 Vera Visions LLC.
|
||||
* Copyright (c) 2016-2023 Vera Visions LLC.
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
|
@ -344,6 +344,7 @@ menu_multiplayer_draw(void)
|
|||
g_connected = TRUE;
|
||||
g_connectstatus = CONNECT_NONE;
|
||||
mp_btninet_start();
|
||||
inet_btnrefresh();
|
||||
}
|
||||
mp_dgConnect.Draw();
|
||||
WField_Static(162, 180, m_reslbl[IDS_FNET_LOGIN], 320, 260,
|
||||
|
|
Loading…
Reference in a new issue