From 9a36afec6e09b3de8354105eda91678732c6fbe9 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 27 Oct 2008 23:46:34 +0000 Subject: Experimental patch (suggested by diva) to kill off WP teleport ghosts. --- OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs index 3a842aa..447cd6f 100644 --- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs @@ -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, -- cgit v1.1