FIX: parse & colorify gametype Gores correctly

This commit is contained in:
Avolicious 2022-12-05 17:03:43 +01:00
parent 00392c7ee6
commit 59db9ce54b

View file

@ -483,6 +483,8 @@ void CMenus::RenderServerbrowserServerList(CUIRect View)
hsl = ColorHSLA(0.00f, 1.0f, 0.75f);
else if(str_find_nocase(pItem->m_aGameType, "fng"))
hsl = ColorHSLA(0.83f, 1.0f, 0.75f);
else if(str_find_nocase(pItem->m_aGameType, "gores"))
hsl = ColorHSLA(0.525f, 1.0f, 0.75f);
else if(str_find_nocase(pItem->m_aGameType, "ddracenet") || str_find_nocase(pItem->m_aGameType, "ddnet"))
hsl = ColorHSLA(0.58f, 1.0f, 0.75f);
else if(str_find_nocase(pItem->m_aGameType, "ddrace") || str_find_nocase(pItem->m_aGameType, "mkrace"))