We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c11208c commit 19c2835Copy full SHA for 19c2835
src/client/game.cpp
@@ -1536,7 +1536,7 @@ bool Game::connectToServer(const GameStartData &start_data,
1536
} else {
1537
wait_time += dtime;
1538
// Only time out if we aren't waiting for the server we started
1539
- if (!start_data.isSinglePlayer() && wait_time > 10) {
+ if (!start_data.address.empty() && wait_time > 10) {
1540
*error_message = "Connection timed out.";
1541
errorstream << *error_message << std::endl;
1542
break;
0 commit comments