remove pointless m_attachments == null check since this field is never null
parent
5a5206449f
commit
54839d28ad
|
@ -945,7 +945,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
// haven't started yet.
|
// haven't started yet.
|
||||||
lock (m_attachments)
|
lock (m_attachments)
|
||||||
{
|
{
|
||||||
if (wasChild && m_attachments != null && m_attachments.Count > 0)
|
if (wasChild && HasAttachments())
|
||||||
{
|
{
|
||||||
m_log.DebugFormat("[SCENE PRESENCE]: Restarting scripts in attachments...");
|
m_log.DebugFormat("[SCENE PRESENCE]: Restarting scripts in attachments...");
|
||||||
// Resume scripts
|
// Resume scripts
|
||||||
|
|
Loading…
Reference in New Issue