mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* Apply patch in http://opensimulator.org/mantis/view.php?id=2397
* Fix from 7139 also needed in the Estate Menu teleport home functions * Thanks idb
This commit is contained in:
@@ -263,7 +263,10 @@ namespace OpenSim.Region.Environment.Modules.World.Estate
|
||||
if (s != null)
|
||||
{
|
||||
if (!s.IsChildAgent)
|
||||
{
|
||||
s.ControllingClient.SendTeleportLocationStart();
|
||||
m_scene.TeleportClientHome(user, s.ControllingClient);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -389,6 +392,7 @@ namespace OpenSim.Region.Environment.Modules.World.Estate
|
||||
ScenePresence s = m_scene.GetScenePresence(prey);
|
||||
if (s != null)
|
||||
{
|
||||
s.ControllingClient.SendTeleportLocationStart();
|
||||
m_scene.TeleportClientHome(prey, s.ControllingClient);
|
||||
}
|
||||
}
|
||||
@@ -409,6 +413,7 @@ namespace OpenSim.Region.Environment.Modules.World.Estate
|
||||
// Also make sure they are actually in the region
|
||||
if (!s.IsChildAgent)
|
||||
{
|
||||
s.ControllingClient.SendTeleportLocationStart();
|
||||
m_scene.TeleportClientHome(s.UUID, s.ControllingClient);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user