diff options
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 4dd5fe1..cb2671a 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -167,7 +167,11 @@ namespace OpenSim | |||
167 | Scene scene = SetupScene(regionInfo, out udpServer); | 167 | Scene scene = SetupScene(regionInfo, out udpServer); |
168 | 168 | ||
169 | 169 | ||
170 | scene.AddScriptEngine(ScriptEngineLoader.LoadScriptEngine("DotNetEngine")); | 170 | OpenSim.Region.Environment.Scenes.Scripting.ScriptEngineInterface ScriptEngine = ScriptEngineLoader.LoadScriptEngine("DotNetEngine"); |
171 | scene.AddScriptEngine(ScriptEngine); | ||
172 | // TODO: TEMP load default script | ||
173 | ScriptEngine.StartScript(Path.Combine("ScriptEngines", "default.lsl"), "TEST"); | ||
174 | |||
171 | 175 | ||
172 | m_localScenes.Add(scene); | 176 | m_localScenes.Add(scene); |
173 | 177 | ||