diff --git a/src/game/client/components/menus_browser.cpp b/src/game/client/components/menus_browser.cpp index 431293dce..dc0359943 100644 --- a/src/game/client/components/menus_browser.cpp +++ b/src/game/client/components/menus_browser.cpp @@ -2022,7 +2022,7 @@ void CMenus::RenderDetailScoreboard(CUIRect View, const CServerInfo *pInfo, int } else { - float Width = RowWidth * ceil(pInfo->m_NumClients / RowCount); + float Width = RowWidth * ((pInfo->m_NumClients+RowCount-1) / RowCount); static float s_ScrollValue = 0.0f; if(Width > View.w) {