diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 58d3ef6..9fe3a9e 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -5966,7 +5966,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
5966 | public void HasMovedAway() | 5966 | public void HasMovedAway() |
5967 | { | 5967 | { |
5968 | List<ScenePresence> allpresences = m_scene.GetScenePresences(); | 5968 | List<ScenePresence> allpresences = m_scene.GetScenePresences(); |
5969 | foreach (ScenePresence p in allpresences) | 5969 | /* foreach (ScenePresence p in allpresences) |
5970 | { | 5970 | { |
5971 | if (p == this) | 5971 | if (p == this) |
5972 | continue; | 5972 | continue; |
@@ -5974,6 +5974,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
5974 | if (!p.IsChildAgent) | 5974 | if (!p.IsChildAgent) |
5975 | p.SendKillTo(this); | 5975 | p.SendKillTo(this); |
5976 | } | 5976 | } |
5977 | */ | ||
5977 | if (Scene.AttachmentsModule != null) | 5978 | if (Scene.AttachmentsModule != null) |
5978 | Scene.AttachmentsModule.DeleteAttachmentsFromScene(this, true); | 5979 | Scene.AttachmentsModule.DeleteAttachmentsFromScene(this, true); |
5979 | } | 5980 | } |