Add another null check to Melanie's last commit. Seems to eliminate sqlite errors in log but no idea if it's working properly

This commit is contained in:
dahlia
2012-05-14 19:34:18 -07:00
parent 069bcd45e5
commit 1ce576b115

View File

@@ -4285,7 +4285,7 @@ namespace OpenSim.Region.Framework.Scenes
public void aggregateScriptEvents()
{
if (ParentGroup.RootPart == null)
if (ParentGroup == null || ParentGroup.RootPart == null)
return;
AggregateScriptEvents = 0;