summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-03-25 18:17:41 +0000
committerrubidium <rubidium@openttd.org>2012-03-25 18:17:41 +0000
commit357843378f1db2bc574cf0996a63bda9a2edba8e (patch)
tree0e3585378ec73b1002841066978c35f6285f1f78
parent1cf1d330f4118c60b86163313ef97ddab9ce624e (diff)
downloadopenttd-357843378f1db2bc574cf0996a63bda9a2edba8e.tar.xz
(svn r24062) -Fix [FS#5097]: immediately start querying the last joined server instead of waiting for the requery loop (adf88)
-rw-r--r--src/network/network_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 2b15ef0fc..965a3a91f 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -452,6 +452,7 @@ public:
this->field = WID_NG_CLIENT;
this->last_joined = NetworkGameListAddItem(NetworkAddress(_settings_client.network.last_host, _settings_client.network.last_port));
this->server = this->last_joined;
+ NetworkUDPQueryServer(this->last_joined->address);
this->servers.SetListing(this->last_sorting);
this->servers.SetSortFuncs(this->sorter_funcs);