1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-02 11:29:10 +00:00

(svn r4608) -Backported r4413 from trunk:

-Fix: fixed a bug which pushed the client back to the main menu when a
	server is in the mainserver-list which sends out illegal signals. Many
	tnx to 'test' for finding and isolating the problem.
	-Fix: also specify the problem a bit better
This commit is contained in:
celestar
2006-04-28 07:53:10 +00:00
parent bacbe211e7
commit 2576164325
2 changed files with 7 additions and 3 deletions

View File

@@ -125,7 +125,7 @@ static NetworkRecvStatus CloseConnection(NetworkClientState *cs)
NetworkCloseClient(cs);
// Clients drop back to the main menu
if (!_network_server) {
if (!_network_server && _networking) {
_switch_mode = SM_MENU;
_networking = false;
_switch_mode_errorstr = STR_NETWORK_ERR_LOSTCONNECTION;