Improve NetPlay connection error handling

This commit is contained in:
Techjar committed 2018-07-05 17:15:19 -04:00
1 parent f5730e1636
commit a29cdb5713
6 files changed
+24 -12

No files matched your search

-2
View File
@@ -1085,8 +1085,6 @@ bool MainWindow::NetPlayJoin()
if (!Settings::Instance().GetNetPlayClient()->IsConnected())
{
QMessageBox::critical(nullptr, QObject::tr("Error"),
QObject::tr("Failed to connect to server"));
NetPlayQuit();
return false;
}