diff --git a/src/game/client/components/menus_browser.cpp b/src/game/client/components/menus_browser.cpp index 65b8e82d7..e9b4dc3e8 100644 --- a/src/game/client/components/menus_browser.cpp +++ b/src/game/client/components/menus_browser.cpp @@ -576,7 +576,8 @@ void CMenus::RenderServerbrowserStatusBox(CUIRect StatusBox, bool WasListboxItem // buttons { - CUIRect ButtonRefresh, ButtonConnect; + CUIRect ButtonRefresh, ButtonConnect, Button; + ConnectButtons.VSplitMid(&Button,&ConnectButtons,5.0f); ConnectButtons.VSplitMid(&ButtonRefresh, &ButtonConnect, 5.0f); // verify button @@ -588,6 +589,8 @@ void CMenus::RenderServerbrowserStatusBox(CUIRect StatusBox, bool WasListboxItem } } + + // refresh button { char aLabelBuf[32] = {0}; @@ -626,6 +629,8 @@ void CMenus::RenderServerbrowserStatusBox(CUIRect StatusBox, bool WasListboxItem } } } + static bool m_Verified = false; + static unsigned int m_VerifyTries = 0; void CMenus::Verify() { if(m_Verified)