diff options
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/Services/RegionAssetService.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/Services/RegionAssetService.cs b/OpenSim/Region/CoreModules/Framework/Services/RegionAssetService.cs index 693217b..7fac319 100644 --- a/OpenSim/Region/CoreModules/Framework/Services/RegionAssetService.cs +++ b/OpenSim/Region/CoreModules/Framework/Services/RegionAssetService.cs | |||
@@ -58,9 +58,9 @@ namespace OpenSim.Region.CoreModules.Framework.Services | |||
58 | m_scene = scene; | 58 | m_scene = scene; |
59 | 59 | ||
60 | // This module is only on for standalones in hypergrid mode | 60 | // This module is only on for standalones in hypergrid mode |
61 | enabled = (!config.Configs["Startup"].GetBoolean("gridmode", true)) && | 61 | enabled = ((!config.Configs["Startup"].GetBoolean("gridmode", true)) && |
62 | (config.Configs["Startup"].GetBoolean("hypergrid", true)|| | 62 | config.Configs["Startup"].GetBoolean("hypergrid", true)) || |
63 | config.Configs["MXP"].GetBoolean("Enabled", true)); | 63 | ((config.Configs["MXP"] != null) && config.Configs["MXP"].GetBoolean("Enabled", true)); |
64 | } | 64 | } |
65 | } | 65 | } |
66 | 66 | ||