mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
Allow Region specific static maptiles to be loaded from file.
This commit is contained in:
committed by
Robert Adams
parent
cf97535d9e
commit
61353dde80
@@ -903,7 +903,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
if (m_generateMaptiles)
|
||||
{
|
||||
int maptileRefresh = startupConfig.GetInt("MaptileRefresh", 0);
|
||||
int maptileRefresh = Util.GetConfigVarFromSections<int>(config, "MaptileRefresh", possibleMapConfigSections, 0);
|
||||
m_log.InfoFormat("[SCENE]: Region {0}, WORLD MAP refresh time set to {1} seconds", RegionInfo.RegionName, maptileRefresh);
|
||||
if (maptileRefresh != 0)
|
||||
{
|
||||
m_mapGenerationTimer.Interval = maptileRefresh * 1000;
|
||||
|
||||
Reference in New Issue
Block a user