Explicitly filter finished maps

Otherwise this filters all maps in all other tabs
This commit is contained in:
12pm 2019-05-11 13:45:41 +02:00
parent b03dad7626
commit 219d6dcd92

View file

@ -214,7 +214,7 @@ void CServerBrowser::Filter()
Filtered = 1;
else if(!g_Config.m_BrFilterGametypeStrict && g_Config.m_BrFilterGametype[0] && !str_find_nocase(m_ppServerlist[i]->m_Info.m_aGameType, g_Config.m_BrFilterGametype))
Filtered = 1;
else if(g_Config.m_BrFilterUnfinishedMap && m_ppServerlist[i]->m_Info.m_HasRank != 0)
else if(g_Config.m_BrFilterUnfinishedMap && m_ppServerlist[i]->m_Info.m_HasRank == 1)
Filtered = 1;
else
{