Show race disconnect confirmation when joining friend

Closes #6622.
This commit is contained in:
Robert Müller 2023-05-19 15:16:32 +02:00
parent fc3583a18e
commit 1bea7a2cd5

View file

@ -1509,7 +1509,7 @@ void CMenus::RenderServerbrowserFriends(CUIRect View)
str_copy(g_Config.m_UiServerAddress, Friend.ServerInfo()->m_aAddress);
if(Input()->MouseDoubleClick())
{
Client()->Connect(g_Config.m_UiServerAddress);
Connect(g_Config.m_UiServerAddress);
}
}
}