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

0.7.4.1
dahlia 2012-05-14 19:34:18 -07:00
parent 069bcd45e5
commit 1ce576b115
1 changed files with 1 additions and 1 deletions

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;