diff options
Diffstat (limited to 'OpenSim/Grid/GridServer')
-rw-r--r-- | OpenSim/Grid/GridServer/GridManager.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Grid/GridServer/GridManager.cs b/OpenSim/Grid/GridServer/GridManager.cs index 8e838d1..64e8e4b 100644 --- a/OpenSim/Grid/GridServer/GridManager.cs +++ b/OpenSim/Grid/GridServer/GridManager.cs | |||
@@ -162,13 +162,11 @@ namespace OpenSim.Grid.GridServer | |||
162 | { | 162 | { |
163 | Dictionary<ulong, SimProfileData> regions = new Dictionary<ulong, SimProfileData>(); | 163 | Dictionary<ulong, SimProfileData> regions = new Dictionary<ulong, SimProfileData>(); |
164 | 164 | ||
165 | SimProfileData[] neighbours; | ||
166 | |||
167 | foreach (KeyValuePair<string, IGridData> kvp in _plugins) | 165 | foreach (KeyValuePair<string, IGridData> kvp in _plugins) |
168 | { | 166 | { |
169 | try | 167 | try |
170 | { | 168 | { |
171 | neighbours = kvp.Value.GetProfilesInRange(xmin, ymin, xmax, ymax); | 169 | SimProfileData[] neighbours = kvp.Value.GetProfilesInRange(xmin, ymin, xmax, ymax); |
172 | foreach (SimProfileData neighbour in neighbours) | 170 | foreach (SimProfileData neighbour in neighbours) |
173 | { | 171 | { |
174 | regions[neighbour.regionHandle] = neighbour; | 172 | regions[neighbour.regionHandle] = neighbour; |