mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Prevent a nullref when no script engines are loaded
This commit is contained in:
@@ -1962,6 +1962,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
//
|
||||
foreach (IScriptModule m in m_scriptEngines)
|
||||
{
|
||||
if (m == null) // No script engine loaded
|
||||
continue;
|
||||
|
||||
m.PostObjectEvent(grp.RootPart.UUID, "changed", new Object[] {16384});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user