mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
When hosting, don't try to connect if listening failed.
If another instance of the server is running on the same computer, this would cause Dolphin to confusingly connect to it.
This commit is contained in:
@ -254,9 +254,12 @@ void NetPlaySetupDiag::OnHost(wxCommandEvent&)
|
||||
if(m_upnp_chk->GetValue())
|
||||
netplay_server->TryPortmapping(port);
|
||||
#endif
|
||||
MakeNetPlayDiag(port, game, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
PanicAlertT("Failed to listen. Is another instance of the NetPlay server running?");
|
||||
}
|
||||
|
||||
MakeNetPlayDiag(port, game, true);
|
||||
}
|
||||
|
||||
void NetPlaySetupDiag::OnJoin(wxCommandEvent&)
|
||||
|
Reference in New Issue
Block a user