diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index ae8f25d..e3f06f8 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -4285,7 +4285,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4285 | 4285 | ||
4286 | public void aggregateScriptEvents() | 4286 | public void aggregateScriptEvents() |
4287 | { | 4287 | { |
4288 | if (ParentGroup.RootPart == null) | 4288 | if (ParentGroup == null || ParentGroup.RootPart == null) |
4289 | return; | 4289 | return; |
4290 | 4290 | ||
4291 | AggregateScriptEvents = 0; | 4291 | AggregateScriptEvents = 0; |