mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Merge branch 'TeleportWork'
This commit is contained in:
@@ -562,7 +562,7 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
||||
if (!Scene.TeleportClientHome(user, s.ControllingClient))
|
||||
{
|
||||
s.ControllingClient.Kick("Your access to the region was revoked and TP home failed - you have been logged out.");
|
||||
s.ControllingClient.Close();
|
||||
Scene.IncomingCloseAgent(s.UUID, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -797,7 +797,7 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
||||
if (!Scene.TeleportClientHome(prey, s.ControllingClient))
|
||||
{
|
||||
s.ControllingClient.Kick("You were teleported home by the region owner, but the TP failed - you have been logged out.");
|
||||
s.ControllingClient.Close();
|
||||
Scene.IncomingCloseAgent(s.UUID, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -820,7 +820,7 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
||||
if (!Scene.TeleportClientHome(p.UUID, p.ControllingClient))
|
||||
{
|
||||
p.ControllingClient.Kick("You were teleported home by the region owner, but the TP failed - you have been logged out.");
|
||||
p.ControllingClient.Close();
|
||||
Scene.IncomingCloseAgent(p.UUID, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user