[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…
Reference in New Issue