Only try joining tutorial once we have server list

Otherwise quickly pressing enter you end up not joining tutorial
This commit is contained in:
Dennis Felsing 2022-04-04 10:15:53 +02:00
parent 0e003f54ee
commit 6caa29df7c

View file

@ -1352,7 +1352,7 @@ int CMenus::Render()
if(m_Popup == POPUP_NONE)
{
if(m_JoinTutorial && !Client()->InfoTaskRunning())
if(m_JoinTutorial && !Client()->InfoTaskRunning() && !ServerBrowser()->IsGettingServerlist())
{
m_JoinTutorial = false;
const char *pAddr = ServerBrowser()->GetTutorialServer();