summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-01-26 15:55:53 +0000
committerDarkvater <Darkvater@openttd.org>2006-01-26 15:55:53 +0000
commitf99a200470533cd9c3a09f00dab66e87c7b6cf49 (patch)
tree8c9a610ff8cfaa9e4934bfc795d181c8cf84e06f
parent1be559cfb8e14a33e2aa042540a2e6b6685a9580 (diff)
downloadopenttd-f99a200470533cd9c3a09f00dab66e87c7b6cf49.tar.xz
(svn r3438) - Fix: first request company data, then general. Yes, it should be the other way around, but with the current network code this doesn't work. So workaround (have some nice promise from TrueLight for fixing ;))
-rw-r--r--network_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network_gui.c b/network_gui.c
index c57654563..11627761b 100644
--- a/network_gui.c
+++ b/network_gui.c
@@ -792,8 +792,8 @@ static void NetworkLobbyWindowWndProc(Window *w, WindowEvent *e)
NetworkClientConnectGame(_network_last_host, _network_last_port);
break;
case 10: /* Refresh */
- NetworkUDPQueryServer(_network_last_host, _network_last_port); // general data
NetworkQueryServer(_network_last_host, _network_last_port, false); // company info
+ NetworkUDPQueryServer(_network_last_host, _network_last_port); // general data
break;
} break;