diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectors/Neighbour/RemoteNeighourServiceConnector.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectors/Neighbour/RemoteNeighourServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectors/Neighbour/RemoteNeighourServiceConnector.cs index b0bd428..8ea4ca7 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectors/Neighbour/RemoteNeighourServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectors/Neighbour/RemoteNeighourServiceConnector.cs | |||
@@ -113,13 +113,15 @@ namespace OpenSim.Region.CoreModules.ServiceConnectors.Neighbour | |||
113 | if (!m_Enabled) | 113 | if (!m_Enabled) |
114 | return; | 114 | return; |
115 | 115 | ||
116 | m_MapService = scene.CommsManager.GridService; | ||
117 | m_LocalService.AddRegion(scene); | ||
116 | scene.RegisterModuleInterface<INeighbourService>(this); | 118 | scene.RegisterModuleInterface<INeighbourService>(this); |
117 | } | 119 | } |
118 | 120 | ||
119 | public void RemoveRegion(Scene scene) | 121 | public void RemoveRegion(Scene scene) |
120 | { | 122 | { |
121 | if (m_Enabled && m_Scenes.Contains(scene)) | 123 | if (m_Enabled && m_Scenes.Contains(scene)) |
122 | m_Scenes.Remove(scene); | 124 | m_LocalService.RemoveRegion(scene); |
123 | } | 125 | } |
124 | 126 | ||
125 | public void RegionLoaded(Scene scene) | 127 | public void RegionLoaded(Scene scene) |