diff options
author | truelight <truelight@openttd.org> | 2006-04-14 12:19:51 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2006-04-14 12:19:51 +0000 |
commit | b93da7b279a05a54df227fdd22c9dfc8f54f7244 (patch) | |
tree | 3c6138af656325521d9c54a8e26448f224e35d62 /network_data.c | |
parent | a3b8eb37b8612a9e179aeb44198f81bbbe89b6ab (diff) | |
download | openttd-b93da7b279a05a54df227fdd22c9dfc8f54f7244.tar.xz |
(svn r4413) -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
Diffstat (limited to 'network_data.c')
-rw-r--r-- | network_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network_data.c b/network_data.c index ce008a86a..43ed7c769 100644 --- a/network_data.c +++ b/network_data.c @@ -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; |