diff options
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs index a888235..041bba5 100644 --- a/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs +++ b/OpenSim/Region/Environment/Modules/World/Estate/EstateManagementModule.cs | |||
@@ -263,7 +263,10 @@ namespace OpenSim.Region.Environment.Modules.World.Estate | |||
263 | if (s != null) | 263 | if (s != null) |
264 | { | 264 | { |
265 | if (!s.IsChildAgent) | 265 | if (!s.IsChildAgent) |
266 | { | ||
267 | s.ControllingClient.SendTeleportLocationStart(); | ||
266 | m_scene.TeleportClientHome(user, s.ControllingClient); | 268 | m_scene.TeleportClientHome(user, s.ControllingClient); |
269 | } | ||
267 | } | 270 | } |
268 | 271 | ||
269 | } | 272 | } |
@@ -389,6 +392,7 @@ namespace OpenSim.Region.Environment.Modules.World.Estate | |||
389 | ScenePresence s = m_scene.GetScenePresence(prey); | 392 | ScenePresence s = m_scene.GetScenePresence(prey); |
390 | if (s != null) | 393 | if (s != null) |
391 | { | 394 | { |
395 | s.ControllingClient.SendTeleportLocationStart(); | ||
392 | m_scene.TeleportClientHome(prey, s.ControllingClient); | 396 | m_scene.TeleportClientHome(prey, s.ControllingClient); |
393 | } | 397 | } |
394 | } | 398 | } |
@@ -409,6 +413,7 @@ namespace OpenSim.Region.Environment.Modules.World.Estate | |||
409 | // Also make sure they are actually in the region | 413 | // Also make sure they are actually in the region |
410 | if (!s.IsChildAgent) | 414 | if (!s.IsChildAgent) |
411 | { | 415 | { |
416 | s.ControllingClient.SendTeleportLocationStart(); | ||
412 | m_scene.TeleportClientHome(s.UUID, s.ControllingClient); | 417 | m_scene.TeleportClientHome(s.UUID, s.ControllingClient); |
413 | } | 418 | } |
414 | } | 419 | } |