mirror of https://github.com/OpenTTD/OpenTTD.git
Fix #6598: Do not disconnect before company number validation
NetworkClientConnectGame already does a NetworkDisconnect, so no reason to do it here
This commit is contained in:
parent
3bd416bfdb
commit
39c51c35f4
|
@ -914,7 +914,6 @@ DEF_CONSOLE_CMD(ConNetworkConnect)
|
|||
}
|
||||
|
||||
if (argc < 2) return false;
|
||||
if (_networking) NetworkDisconnect(); // we are in network-mode, first close it!
|
||||
|
||||
return NetworkClientConnectGame(argv[1], COMPANY_NEW_COMPANY);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue