aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
index 624b20b..8ff3bfd 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
@@ -132,10 +132,16 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
132 // this private copy will contain Read-Only FullitemID so that it can bring that on to the server whenever needed. 132 // this private copy will contain Read-Only FullitemID so that it can bring that on to the server whenever needed.
133 133
134 134
135 BuilIn_Commands LSLB = new BuilIn_Commands(m_scriptEngine, m_host, localID, itemID); 135// OSSL_BuilIn_Commands LSLB = new OSSL_BuilIn_Commands(m_scriptEngine, m_host, localID, itemID);
136 LSL_Api LSL = new LSL_Api();
137 OSSL_Api OSSL = new OSSL_Api();
138
139 LSL.Initialize(m_scriptEngine, m_host, localID, itemID);
140 OSSL.Initialize(m_scriptEngine, m_host, localID, itemID);
136 141
137 // Start the script - giving it BuiltIns 142 // Start the script - giving it BuiltIns
138 CompiledScript.Start(LSLB); 143 CompiledScript.InitApi("LSL", LSL);
144 CompiledScript.InitApi("OSSL", OSSL);
139 145
140 // Fire the first start-event 146 // Fire the first start-event
141 int eventFlags = m_scriptEngine.m_ScriptManager.GetStateEventFlags(localID, itemID); 147 int eventFlags = m_scriptEngine.m_ScriptManager.GetStateEventFlags(localID, itemID);