@@ -915,7 +915,7 @@ CBasePanel::CBasePanel() : Panel(NULL, "BaseGameUIPanel")
915915 }
916916 }
917917
918- if ( IsAndroid () )
918+ // if( IsAndroid() )
919919 {
920920 AddUrlButton ( this , " vgui/\x64\x69\x73\x63\x6f\x72\x64\x5f\x6c\x6f\x67\x6f " , " \x68\x74\x74\x70\x73\x3a\x2f\x2f\x64\x69\x73\x63\x6f\x72\x64\x2e\x67\x67\x2f\x68\x5a\x52\x42\x37\x57\x4d\x67\x47\x77 " );
921921 AddUrlButton ( this , " vgui/\x74\x77\x69\x74\x74\x65\x72\x5f\x6c\x6f\x67\x6f " , " \x68\x74\x74\x70\x73\x3a\x2f\x2f\x74\x77\x69\x74\x74\x65\x72\x2e\x63\x6f\x6d\x2f\x6e\x69\x6c\x6c\x65\x72\x75\x73\x72 " );
@@ -1607,14 +1607,30 @@ CGameMenu *CBasePanel::RecursiveLoadGameMenu(KeyValues *datafile)
16071607 else
16081608 menu->AddMenuItem (" Console" , " CONSOLE" , " OpenConsole" , this );
16091609
1610+ bool bFoundServerBrowser = false ;
1611+
1612+ for (KeyValues *dat = datafile->GetFirstSubKey (); dat != NULL ; dat = dat->GetNextKey ())
1613+ {
1614+ const char *label = dat->GetString (" label" , " <unknown>" );
1615+ const char *cmd = dat->GetString (" command" , NULL );
1616+ const char *name = dat->GetString (" name" , label);
1617+
1618+ if ( cmd && Q_strcmp (cmd, " OpenServerBrowser" ) == 0 )
1619+ bFoundServerBrowser = true ;
1620+ }
1621+
1622+ if ( !bFoundServerBrowser && !ModInfo ().IsSinglePlayerOnly () )
1623+ menu->AddMenuItem (" AntiM*dG*yButton" , " #GameUI_GameMenu_FindServers" , " OpenServerBrowser" , this );
1624+
16101625 // loop through all the data adding items to the menu
16111626 for (KeyValues *dat = datafile->GetFirstSubKey (); dat != NULL ; dat = dat->GetNextKey ())
16121627 {
16131628 const char *label = dat->GetString (" label" , " <unknown>" );
16141629 const char *cmd = dat->GetString (" command" , NULL );
16151630 const char *name = dat->GetString (" name" , label);
16161631
1617- if ( cmd && !Q_stricmp ( cmd, " OpenFriendsDialog" ) && bSteamCommunityFriendsVersion )
1632+ if ( cmd && (!Q_stricmp ( cmd, " OpenFriendsDialog" )
1633+ || !Q_stricmp ( cmd, " engine bug" )) )
16181634 continue ;
16191635
16201636 menu->AddMenuItem (name, label, cmd, this , dat);
0 commit comments