aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 33a17db..e83696b 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3598,7 +3598,7 @@ namespace OpenSim.Region.Framework.Scenes
3598 3598
3599 public void Close() 3599 public void Close()
3600 { 3600 {
3601 if (!IsChildAgent) 3601 if (!IsChildAgent && m_scene.AttachmentsModule != null)
3602 m_scene.AttachmentsModule.DeleteAttachmentsFromScene(this, false); 3602 m_scene.AttachmentsModule.DeleteAttachmentsFromScene(this, false);
3603 3603
3604 // Clear known regions 3604 // Clear known regions