diff options
Diffstat (limited to 'src/game/client/components/menus.cpp')
| -rw-r--r-- | src/game/client/components/menus.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp index 5fe2bbaa..b1043870 100644 --- a/src/game/client/components/menus.cpp +++ b/src/game/client/components/menus.cpp @@ -666,6 +666,12 @@ int MENUS::render() ui_hsplit_t(&screen, 26.0f, &tab_bar, &main_view); ui_vmargin(&tab_bar, 20.0f, &tab_bar); render_menubar(tab_bar); + + if(config.ui_page < PAGE_NEWS || config.ui_page > PAGE_SETTINGS) + { + client_serverbrowse_refresh(BROWSETYPE_INTERNET); + config.ui_page = PAGE_INTERNET; + } // render current page if(client_state() != CLIENTSTATE_OFFLINE) |