Experimental patch (suggested by diva) to kill off WP teleport ghosts.

0.6.0-stable
Melanie Thielker 2008-10-27 23:46:34 +00:00
parent e6a141b0f5
commit 9a36afec6e
1 changed files with 1 additions and 0 deletions

View File

@ -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,