diff options
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs index 9033460..5641804 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs | |||
@@ -146,10 +146,9 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.MapImage | |||
146 | lock (m_scenes) | 146 | lock (m_scenes) |
147 | m_scenes[scene.RegionInfo.RegionID] = scene; | 147 | m_scenes[scene.RegionInfo.RegionID] = scene; |
148 | 148 | ||
149 | scene.EventManager.OnLoginsEnabled += OnLoginsEnabled; | 149 | scene.EventManager.OnRegionReady += s => UploadMapTile(s); |
150 | } | 150 | } |
151 | 151 | ||
152 | |||
153 | ///<summary> | 152 | ///<summary> |
154 | /// | 153 | /// |
155 | ///</summary> | 154 | ///</summary> |
@@ -163,12 +162,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.MapImage | |||
163 | } | 162 | } |
164 | 163 | ||
165 | #endregion ISharedRegionModule | 164 | #endregion ISharedRegionModule |
166 | 165 | ||
167 | void OnLoginsEnabled(IScene scene) | ||
168 | { | ||
169 | UploadMapTile(scene); | ||
170 | } | ||
171 | |||
172 | ///<summary> | 166 | ///<summary> |
173 | /// | 167 | /// |
174 | ///</summary> | 168 | ///</summary> |