Changeset - r25345:c7e80388b02f
[Not reviewed]
master
0 1 0
rubidium42 - 3 years ago 2021-05-01 11:55:39
rubidium@openttd.org
Fix #6598: Do not disconnect before company number validation

NetworkClientConnectGame already does a NetworkDisconnect, so no reason to do it here
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/console_cmds.cpp
Show inline comments
 
@@ -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);
 
}
0 comments (0 inline, 0 general)