mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 15:51:42 +02:00
[Netplay] Show error dialog if failed to connect to netplay server when Traversal and Force Listen Port is enabled
This commit is contained in:
parent
1f83a3d146
commit
7ddfe713d5
@ -360,7 +360,11 @@ void NetPlaySetupFrame::OnHost(wxCommandEvent&)
|
||||
}
|
||||
else
|
||||
{
|
||||
WxUtils::ShowErrorDialog(_("Failed to listen. Is another instance of the NetPlay server running?"));
|
||||
if (trav && m_traversal_listen_port_enabled->IsChecked())
|
||||
WxUtils::ShowErrorDialog(
|
||||
_("Failed to listen. Someone is probably already listening on the port you specified."));
|
||||
else
|
||||
WxUtils::ShowErrorDialog(_("Failed to listen. Is another instance of the NetPlay server running?"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user