Merge pull request #7269 from Robyt3/Serverbrowser-Favorite-Resort-Fix

Fix large FPS drop rendering server details of favorite server
This commit is contained in:
Dennis Felsing 2023-09-30 18:15:50 +00:00 committed by GitHub
commit 49a5a591d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1030,8 +1030,8 @@ void CMenus::RenderServerbrowserInfo(CUIRect View)
if(DoButton_CheckBox_Tristate(&s_LeakIpButton, Localize("Leak IP"), pSelectedServer->m_FavoriteAllowPing, &ButtonLeakIp))
{
Favorites()->AllowPing(pSelectedServer->m_aAddresses, pSelectedServer->m_NumAddresses, pSelectedServer->m_FavoriteAllowPing == TRISTATE::NONE);
Client()->ServerBrowserUpdate();
}
Client()->ServerBrowserUpdate();
}
}