mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
moved refreshing of masters in the client from the server browsers to before we load so we refresh while we are loading
This commit is contained in:
parent
cfe5bd8547
commit
2fc86642ef
|
@ -1618,7 +1618,7 @@ static void client_run()
|
|||
return;
|
||||
|
||||
/* start refreshing addresses while we load */
|
||||
/* mastersrv_refresh_addresses(); */
|
||||
mastersrv_refresh_addresses();
|
||||
|
||||
/* init the editor */
|
||||
editor_init();
|
||||
|
|
|
@ -517,10 +517,7 @@ void client_serverbrowse_refresh(int type)
|
|||
dbg_msg("client", "broadcasting for servers");
|
||||
}
|
||||
else if(type == BROWSETYPE_INTERNET)
|
||||
{
|
||||
need_refresh = 1;
|
||||
mastersrv_refresh_addresses();
|
||||
}
|
||||
else if(type == BROWSETYPE_FAVORITES)
|
||||
{
|
||||
int i;
|
||||
|
|
Loading…
Reference in a new issue