diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index e3b7c72419..43a845cc7e 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -945,7 +945,7 @@ namespace OpenSim.Region.Framework.Scenes // haven't started yet. lock (m_attachments) { - if (wasChild && m_attachments != null && m_attachments.Count > 0) + if (wasChild && HasAttachments()) { m_log.DebugFormat("[SCENE PRESENCE]: Restarting scripts in attachments..."); // Resume scripts