Fixed: Don't use current servers count if default one is hihger
--HG-- branch : develop
This commit is contained in:
parent
89fc46c778
commit
d769a22686
1 changed files with 2 additions and 1 deletions
|
@ -121,7 +121,8 @@ bool CConfigFile::load(const QString &filename)
|
|||
// only resize if added servers in local ryzom_installer.ini
|
||||
CServers defaultServers = m_servers;
|
||||
|
||||
m_servers.resize(serversCount);
|
||||
// only resize if servers count is greater than default ones
|
||||
if (serversCount > m_servers.count()) m_servers.resize(serversCount);
|
||||
|
||||
for (int i = 0; i < serversCount; ++i)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue