mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
remove pointless m_attachments == null check since this field is never null
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user