diff options
Diffstat (limited to 'OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs')
-rw-r--r-- | OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs b/OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs index 80e3535..8a31579 100644 --- a/OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs +++ b/OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs | |||
@@ -119,6 +119,9 @@ namespace OpenSim.Server.Handlers.MapImage | |||
119 | int x = 0, y = 0; | 119 | int x = 0, y = 0; |
120 | Int32.TryParse(request["X"].ToString(), out x); | 120 | Int32.TryParse(request["X"].ToString(), out x); |
121 | Int32.TryParse(request["Y"].ToString(), out y); | 121 | Int32.TryParse(request["Y"].ToString(), out y); |
122 | UUID scopeID = new UUID("07f8d88e-cd5e-4239-a0ed-843f75d09992"); | ||
123 | if (request.ContainsKey("SCOPE")) | ||
124 | UUID.TryParse(request["SCOPE"].ToString(), out scopeID); | ||
122 | 125 | ||
123 | m_log.DebugFormat("[MAP REMOVE SERVER CONNECTOR]: Received position data for region at {0}-{1}", x, y); | 126 | m_log.DebugFormat("[MAP REMOVE SERVER CONNECTOR]: Received position data for region at {0}-{1}", x, y); |
124 | 127 | ||
@@ -144,7 +147,7 @@ namespace OpenSim.Server.Handlers.MapImage | |||
144 | } | 147 | } |
145 | 148 | ||
146 | string reason = string.Empty; | 149 | string reason = string.Empty; |
147 | bool result = m_MapService.RemoveMapTile(x, y, out reason); | 150 | bool result = m_MapService.RemoveMapTile(x, y, scopeID, out reason); |
148 | 151 | ||
149 | if (result) | 152 | if (result) |
150 | return SuccessResult(); | 153 | return SuccessResult(); |