mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-13 15:54:39 +01:00
(svn r24062) -Fix [FS#5097]: immediately start querying the last joined server instead of waiting for the requery loop (adf88)
This commit is contained in:
parent
1cf1d330f4
commit
357843378f
@ -452,6 +452,7 @@ public:
|
|||||||
this->field = WID_NG_CLIENT;
|
this->field = WID_NG_CLIENT;
|
||||||
this->last_joined = NetworkGameListAddItem(NetworkAddress(_settings_client.network.last_host, _settings_client.network.last_port));
|
this->last_joined = NetworkGameListAddItem(NetworkAddress(_settings_client.network.last_host, _settings_client.network.last_port));
|
||||||
this->server = this->last_joined;
|
this->server = this->last_joined;
|
||||||
|
NetworkUDPQueryServer(this->last_joined->address);
|
||||||
|
|
||||||
this->servers.SetListing(this->last_sorting);
|
this->servers.SetListing(this->last_sorting);
|
||||||
this->servers.SetSortFuncs(this->sorter_funcs);
|
this->servers.SetSortFuncs(this->sorter_funcs);
|
||||||
|
Loading…
Reference in New Issue
Block a user