mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06: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:
@ -360,7 +360,11 @@ void NetPlaySetupFrame::OnHost(wxCommandEvent&)
|
|||||||
}
|
}
|
||||||
else
|
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?"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user