aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 6f3267a..9b91176 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -2897,12 +2897,14 @@ namespace OpenSim.Region.Environment.Scenes
2897 public void RequestTeleportLandmark(IClientAPI remoteClient, LLUUID regionID, LLVector3 position) 2897 public void RequestTeleportLandmark(IClientAPI remoteClient, LLUUID regionID, LLVector3 position)
2898 { 2898 {
2899 RegionInfo info = CommsManager.GridService.RequestNeighbourInfo(regionID); 2899 RegionInfo info = CommsManager.GridService.RequestNeighbourInfo(regionID);
2900
2900 if (info == null) 2901 if (info == null)
2901 { 2902 {
2902 // can't find the region: Tell viewer and abort 2903 // can't find the region: Tell viewer and abort
2903 remoteClient.SendTeleportFailed("The teleport destination could not be found."); 2904 remoteClient.SendTeleportFailed("The teleport destination could not be found.");
2904 return; 2905 return;
2905 } 2906 }
2907
2906 lock (m_scenePresences) 2908 lock (m_scenePresences)
2907 { 2909 {
2908 if (m_scenePresences.ContainsKey(remoteClient.AgentId)) 2910 if (m_scenePresences.ContainsKey(remoteClient.AgentId))