diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs index a2aee08..cb22f0b 100644 --- a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs +++ b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs | |||
@@ -77,6 +77,9 @@ namespace OpenSim.Region.CoreModules.Hypergrid | |||
77 | 77 | ||
78 | public override void AddRegion(Scene scene) | 78 | public override void AddRegion(Scene scene) |
79 | { | 79 | { |
80 | if (!m_Enabled) | ||
81 | return; | ||
82 | |||
80 | base.AddRegion(scene); | 83 | base.AddRegion(scene); |
81 | 84 | ||
82 | scene.EventManager.OnClientClosed += new EventManager.ClientClosed(EventManager_OnClientClosed); | 85 | scene.EventManager.OnClientClosed += new EventManager.ClientClosed(EventManager_OnClientClosed); |
@@ -84,6 +87,9 @@ namespace OpenSim.Region.CoreModules.Hypergrid | |||
84 | 87 | ||
85 | public override void RegionLoaded(Scene scene) | 88 | public override void RegionLoaded(Scene scene) |
86 | { | 89 | { |
90 | if (!m_Enabled) | ||
91 | return; | ||
92 | |||
87 | base.RegionLoaded(scene); | 93 | base.RegionLoaded(scene); |
88 | ISimulatorFeaturesModule featuresModule = m_scene.RequestModuleInterface<ISimulatorFeaturesModule>(); | 94 | ISimulatorFeaturesModule featuresModule = m_scene.RequestModuleInterface<ISimulatorFeaturesModule>(); |
89 | 95 | ||