@@ -915,7 +915,7 @@ CBasePanel::CBasePanel() : Panel(NULL, "BaseGameUIPanel")
915
915
}
916
916
}
917
917
918
- if ( IsAndroid () )
918
+ // if( IsAndroid() )
919
919
{
920
920
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 " );
921
921
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)
1607
1607
else
1608
1608
menu->AddMenuItem (" Console" , " CONSOLE" , " OpenConsole" , this );
1609
1609
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
+
1610
1625
// loop through all the data adding items to the menu
1611
1626
for (KeyValues *dat = datafile->GetFirstSubKey (); dat != NULL ; dat = dat->GetNextKey ())
1612
1627
{
1613
1628
const char *label = dat->GetString (" label" , " <unknown>" );
1614
1629
const char *cmd = dat->GetString (" command" , NULL );
1615
1630
const char *name = dat->GetString (" name" , label);
1616
1631
1617
- if ( cmd && !Q_stricmp ( cmd, " OpenFriendsDialog" ) && bSteamCommunityFriendsVersion )
1632
+ if ( cmd && (!Q_stricmp ( cmd, " OpenFriendsDialog" )
1633
+ || !Q_stricmp ( cmd, " engine bug" )) )
1618
1634
continue ;
1619
1635
1620
1636
menu->AddMenuItem (name, label, cmd, this , dat);
0 commit comments