remove pointless m_attachments == null check since this field is never null

remove-scene-viewer
Justin Clark-Casey (justincc) 2011-08-31 16:46:43 +01:00
parent 5a5206449f
commit 54839d28ad
1 changed files with 1 additions and 1 deletions

View File

@ -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