mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
Fix server startup. Thanks Rochet and H0zen
This commit is contained in:
parent
8580aa02fb
commit
0bf26d3e8d
1 changed files with 547 additions and 546 deletions
|
|
@ -574,7 +574,7 @@ void World::LoadConfigSettings(bool reload)
|
||||||
VMAP::VMapFactory::chompAndTrim(forceLoadGridOnMaps);
|
VMAP::VMapFactory::chompAndTrim(forceLoadGridOnMaps);
|
||||||
while (VMAP::VMapFactory::getNextId(forceLoadGridOnMaps, pos, id))
|
while (VMAP::VMapFactory::getNextId(forceLoadGridOnMaps, pos, id))
|
||||||
m_configForceLoadMapIds.insert(id);
|
m_configForceLoadMapIds.insert(id);
|
||||||
|
}
|
||||||
setConfig(CONFIG_UINT32_AUTOBROADCAST_INTERVAL, "AutoBroadcast", 600);
|
setConfig(CONFIG_UINT32_AUTOBROADCAST_INTERVAL, "AutoBroadcast", 600);
|
||||||
|
|
||||||
if (getConfig(CONFIG_UINT32_AUTOBROADCAST_INTERVAL) > 0)
|
if (getConfig(CONFIG_UINT32_AUTOBROADCAST_INTERVAL) > 0)
|
||||||
|
|
@ -1010,11 +1010,12 @@ void World::LoadConfigSettings(bool reload)
|
||||||
|
|
||||||
#ifdef ENABLE_ELUNA
|
#ifdef ENABLE_ELUNA
|
||||||
if (reload)
|
if (reload)
|
||||||
|
{
|
||||||
sEluna->OnConfigLoad(reload);
|
sEluna->OnConfigLoad(reload);
|
||||||
|
}
|
||||||
#endif /* ENABLE_ELUNA */
|
#endif /* ENABLE_ELUNA */
|
||||||
sLog.outString();
|
sLog.outString();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/// Initialize the World
|
/// Initialize the World
|
||||||
void World::SetInitialWorldSettings()
|
void World::SetInitialWorldSettings()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue