diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs index 322a9f8..9033460 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/MapImage/MapImageServiceModule.cs | |||
@@ -164,20 +164,11 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.MapImage | |||
164 | 164 | ||
165 | #endregion ISharedRegionModule | 165 | #endregion ISharedRegionModule |
166 | 166 | ||
167 | void OnLoginsEnabled(string regionName) | 167 | void OnLoginsEnabled(IScene scene) |
168 | { | 168 | { |
169 | Scene scene = null; | 169 | UploadMapTile(scene); |
170 | foreach (Scene s in m_scenes.Values) | ||
171 | if (s.RegionInfo.RegionName == regionName) | ||
172 | { | ||
173 | scene = s; | ||
174 | break; | ||
175 | } | ||
176 | if (scene != null) | ||
177 | UploadMapTile(scene); | ||
178 | } | 170 | } |
179 | 171 | ||
180 | |||
181 | ///<summary> | 172 | ///<summary> |
182 | /// | 173 | /// |
183 | ///</summary> | 174 | ///</summary> |