mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
HGWorldMapModule: check whether it's enabled or not.
This commit is contained in:
@@ -77,6 +77,9 @@ namespace OpenSim.Region.CoreModules.Hypergrid
|
||||
|
||||
public override void AddRegion(Scene scene)
|
||||
{
|
||||
if (!m_Enabled)
|
||||
return;
|
||||
|
||||
base.AddRegion(scene);
|
||||
|
||||
scene.EventManager.OnClientClosed += new EventManager.ClientClosed(EventManager_OnClientClosed);
|
||||
@@ -84,6 +87,9 @@ namespace OpenSim.Region.CoreModules.Hypergrid
|
||||
|
||||
public override void RegionLoaded(Scene scene)
|
||||
{
|
||||
if (!m_Enabled)
|
||||
return;
|
||||
|
||||
base.RegionLoaded(scene);
|
||||
ISimulatorFeaturesModule featuresModule = m_scene.RequestModuleInterface<ISimulatorFeaturesModule>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user