Launcher: parse maps and playlists on surface setup

This allows you to scroll through the combo list with the scroll wheel without uncollapsing it.
This commit is contained in:
Kawe Mazidjatari 2024-05-05 11:32:32 +02:00
parent 3e8cda22b3
commit cd78ee6654

View File

@ -539,6 +539,11 @@ void CSurface::Init()
//-----------------------------------------------------------------------------
void CSurface::Setup()
{
// Already parse these out since you can scroll select in a combo box
// without uncollapsing it.
this->ParseMaps();
this->ParsePlaylists();
this->m_ModeCombo->Items.Add("Host");
this->m_ModeCombo->Items.Add("Server");
this->m_ModeCombo->Items.Add("Client");