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 e3b7c72..43a845c 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -945,7 +945,7 @@ namespace OpenSim.Region.Framework.Scenes
945 // haven't started yet. 945 // haven't started yet.
946 lock (m_attachments) 946 lock (m_attachments)
947 { 947 {
948 if (wasChild && m_attachments != null && m_attachments.Count > 0) 948 if (wasChild && HasAttachments())
949 { 949 {
950 m_log.DebugFormat("[SCENE PRESENCE]: Restarting scripts in attachments..."); 950 m_log.DebugFormat("[SCENE PRESENCE]: Restarting scripts in attachments...");
951 // Resume scripts 951 // Resume scripts