1
0
Fork 0

Fix #6598: Do not disconnect before company number validation

NetworkClientConnectGame already does a NetworkDisconnect, so no reason to do it here
release/1.11
rubidium42 2021-05-01 13:55:39 +02:00 committed by Charles Pigott
parent 2514cf3c5c
commit 59c356ad39
1 changed files with 0 additions and 1 deletions

View File

@ -908,7 +908,6 @@ DEF_CONSOLE_CMD(ConNetworkConnect)
} }
if (argc < 2) return false; if (argc < 2) return false;
if (_networking) NetworkDisconnect(); // we are in network-mode, first close it!
const char *port = nullptr; const char *port = nullptr;
const char *company = nullptr; const char *company = nullptr;