diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 94ca07c..fad90fa 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -3129,6 +3129,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
3129 | remoteClient.SendTeleportFailed("The region '" + regionName + "' could not be found."); | 3129 | remoteClient.SendTeleportFailed("The region '" + regionName + "' could not be found."); |
3130 | return; | 3130 | return; |
3131 | } | 3131 | } |
3132 | |||
3132 | RequestTeleportLocation(remoteClient, regionInfo.RegionHandle, position, lookat, teleportFlags); | 3133 | RequestTeleportLocation(remoteClient, regionInfo.RegionHandle, position, lookat, teleportFlags); |
3133 | } | 3134 | } |
3134 | 3135 | ||
@@ -3149,7 +3150,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
3149 | if (m_scenePresences.ContainsKey(remoteClient.AgentId)) | 3150 | if (m_scenePresences.ContainsKey(remoteClient.AgentId)) |
3150 | sp = m_scenePresences[remoteClient.AgentId]; | 3151 | sp = m_scenePresences[remoteClient.AgentId]; |
3151 | } | 3152 | } |
3152 | if (sp!= null) | 3153 | |
3154 | if (sp != null) | ||
3153 | { | 3155 | { |
3154 | m_sceneGridService.RequestTeleportToLocation(sp, regionHandle, | 3156 | m_sceneGridService.RequestTeleportToLocation(sp, regionHandle, |
3155 | position, lookAt, teleportFlags); | 3157 | position, lookAt, teleportFlags); |