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);
|
||||
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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue