diff options
Diffstat (limited to 'OpenSim/Services/GridService/HypergridLinker.cs')
-rw-r--r-- | OpenSim/Services/GridService/HypergridLinker.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Services/GridService/HypergridLinker.cs b/OpenSim/Services/GridService/HypergridLinker.cs index dabfd3b..67114ef 100644 --- a/OpenSim/Services/GridService/HypergridLinker.cs +++ b/OpenSim/Services/GridService/HypergridLinker.cs | |||
@@ -122,7 +122,8 @@ namespace OpenSim.Services.GridService | |||
122 | 122 | ||
123 | // m_Check4096 = gridConfig.GetBoolean("Check4096", true); | 123 | // m_Check4096 = gridConfig.GetBoolean("Check4096", true); |
124 | 124 | ||
125 | m_MapTileDirectory = gridConfig.GetString("MapTileDirectory", "maptiles"); | 125 | //// TODO OpenSim is crazy, this is called from Robust and OpenSim, Robust needs the ../caches bit, OpenSim somehow adds a path already. I can't tell why. So strip the path. |
126 | m_MapTileDirectory = Path.Combine(Util.cacheDir(), Path.GetFileName(gridConfig.GetString("MapTileDirectory", "maptiles"))); | ||
126 | 127 | ||
127 | m_ThisGatekeeper = Util.GetConfigVarFromSections<string>(config, "GatekeeperURI", | 128 | m_ThisGatekeeper = Util.GetConfigVarFromSections<string>(config, "GatekeeperURI", |
128 | new string[] { "Startup", "Hypergrid", "GridService" }, String.Empty); | 129 | new string[] { "Startup", "Hypergrid", "GridService" }, String.Empty); |