mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
Experimental patch (suggested by diva) to kill off WP teleport ghosts.
This commit is contained in:
@@ -728,6 +728,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
if (Util.fast_distance2d((int)(newRegionX - oldRegionX), (int)(newRegionY - oldRegionY)) > 3)
|
||||
{
|
||||
SendCloseChildAgentConnections(avatar.UUID,avatar.GetKnownRegionList());
|
||||
CloseConnection(m_regionInfo.RegionHandle, avatar.UUID);
|
||||
}
|
||||
// if (teleport success) // seems to be always success here
|
||||
// the user may change their profile information in other region,
|
||||
|
||||
Reference in New Issue
Block a user