aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data')
-rw-r--r--OpenSim/Data/Null/NullRegionData.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Data/Null/NullRegionData.cs b/OpenSim/Data/Null/NullRegionData.cs
index f276d10..2065355 100644
--- a/OpenSim/Data/Null/NullRegionData.cs
+++ b/OpenSim/Data/Null/NullRegionData.cs
@@ -169,7 +169,10 @@ namespace OpenSim.Data.Null
169 169
170 public List<RegionData> GetFallbackRegions(UUID scopeID, int x, int y) 170 public List<RegionData> GetFallbackRegions(UUID scopeID, int x, int y)
171 { 171 {
172 return Get((int)RegionFlags.FallbackRegion, scopeID); 172 List<RegionData> regions = Get((int)RegionFlags.FallbackRegion, scopeID);
173 RegionDataDistanceCompare distanceComparer = new RegionDataDistanceCompare(x, y);
174 regions.Sort(distanceComparer);
175 return regions;
173 } 176 }
174 177
175 public List<RegionData> GetHyperlinks(UUID scopeID) 178 public List<RegionData> GetHyperlinks(UUID scopeID)
@@ -193,4 +196,4 @@ namespace OpenSim.Data.Null
193 return ret; 196 return ret;
194 } 197 }
195 } 198 }
196} \ No newline at end of file 199}