Fix server startup. Thanks Rochet and H0zen

This commit is contained in:
Antz 2017-03-19 12:17:12 +00:00 committed by Antz
parent 8580aa02fb
commit 0bf26d3e8d

View file

@ -574,7 +574,7 @@ void World::LoadConfigSettings(bool reload)
VMAP::VMapFactory::chompAndTrim(forceLoadGridOnMaps);
while (VMAP::VMapFactory::getNextId(forceLoadGridOnMaps, pos, id))
m_configForceLoadMapIds.insert(id);
}
setConfig(CONFIG_UINT32_AUTOBROADCAST_INTERVAL, "AutoBroadcast", 600);
if (getConfig(CONFIG_UINT32_AUTOBROADCAST_INTERVAL) > 0)
@ -1010,11 +1010,12 @@ void World::LoadConfigSettings(bool reload)
#ifdef ENABLE_ELUNA
if (reload)
{
sEluna->OnConfigLoad(reload);
}
#endif /* ENABLE_ELUNA */
sLog.outString();
}
}
/// Initialize the World
void World::SetInitialWorldSettings()