diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs index 80360ee..f112e58 100644 --- a/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs | |||
@@ -40,11 +40,13 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
40 | : base(scriptEngine, host, localID, itemID) | 40 | : base(scriptEngine, host, localID, itemID) |
41 | { | 41 | { |
42 | Prim = new OSSLPrim(this); | 42 | Prim = new OSSLPrim(this); |
43 | |||
43 | } | 44 | } |
44 | 45 | ||
45 | 46 | ||
46 | public OSSLPrim Prim; | 47 | public OSSLPrim Prim; |
47 | 48 | ||
49 | [Serializable] | ||
48 | public class OSSLPrim | 50 | public class OSSLPrim |
49 | { | 51 | { |
50 | private OSSL_BuilIn_Commands OSSL; | 52 | private OSSL_BuilIn_Commands OSSL; |
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs index b0ddf37..e564b5d 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |||
@@ -95,7 +95,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
95 | // this private copy will contain Read-Only FullitemID so that it can bring that on to the server whenever needed. | 95 | // this private copy will contain Read-Only FullitemID so that it can bring that on to the server whenever needed. |
96 | 96 | ||
97 | 97 | ||
98 | BuilIn_Commands LSLB = (BuilIn_Commands)new OSSL_BuilIn_Commands(m_scriptEngine, m_host, localID, itemID); | 98 | BuilIn_Commands LSLB = new BuilIn_Commands(m_scriptEngine, m_host, localID, itemID); |
99 | 99 | ||
100 | // Start the script - giving it BuiltIns | 100 | // Start the script - giving it BuiltIns |
101 | CompiledScript.Start(LSLB); | 101 | CompiledScript.Start(LSLB); |