diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs b/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs index f25699b..b20a875 100644 --- a/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs | |||
@@ -316,8 +316,7 @@ namespace OpenSim.Region.CoreModules.Scripting.WorldComm | |||
316 | 316 | ||
317 | List<SceneObjectGroup> attachments = sp.GetAttachments(); | 317 | List<SceneObjectGroup> attachments = sp.GetAttachments(); |
318 | 318 | ||
319 | // Nothing left to do | 319 | if (attachments.Count == 0) |
320 | if (attachments == null) | ||
321 | return true; | 320 | return true; |
322 | 321 | ||
323 | // Get uuid of attachments | 322 | // Get uuid of attachments |