* "Fixed" a NRE with the new script engine Tedd committed
* Tedd will need to fix properly.0.6.1-post-fixes
parent
344b725d3b
commit
cbda728183
|
@ -54,6 +54,8 @@ namespace OpenSim.ApplicationPlugins.ScriptEngine
|
||||||
// New region is being created
|
// New region is being created
|
||||||
// Create a new script engine
|
// Create a new script engine
|
||||||
// Make sure we have config
|
// Make sure we have config
|
||||||
|
try
|
||||||
|
{
|
||||||
if (ConfigSource.Configs["SECS"] == null)
|
if (ConfigSource.Configs["SECS"] == null)
|
||||||
ConfigSource.AddConfig("SECS");
|
ConfigSource.AddConfig("SECS");
|
||||||
ScriptConfigSource = ConfigSource.Configs["SECS"];
|
ScriptConfigSource = ConfigSource.Configs["SECS"];
|
||||||
|
@ -66,6 +68,10 @@ namespace OpenSim.ApplicationPlugins.ScriptEngine
|
||||||
scriptEngine.Initialise(scene, source);
|
scriptEngine.Initialise(scene, source);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch (NullReferenceException)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void PostInitialise()
|
public void PostInitialise()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue