(svn r18578) -Feature: initially select the last joined server when going to the server list

pull/155/head
rubidium 15 years ago
parent e7000381fb
commit 5f1bb2e882

@ -451,10 +451,8 @@ public:
UpdateNetworkGameWindow(true);
this->field = NGWW_CLIENT;
this->server = NULL;
this->list_pos = SLP_INVALID;
this->last_joined = NetworkGameListAddItem(NetworkAddress(_settings_client.network.last_host, _settings_client.network.last_port));
this->server = this->last_joined;
this->servers.SetListing(this->last_sorting);
this->servers.SetSortFuncs(this->sorter_funcs);

Loading…
Cancel
Save