aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
diff options
context:
space:
mode:
authorTedd Hansen2008-01-21 12:00:27 +0000
committerTedd Hansen2008-01-21 12:00:27 +0000
commitda8923450a2682ec3544cd6c814e691fb8cb4428 (patch)
tree102251f4975953f1787995739a8552d7a51b0bd4 /OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
parentAdd additional mainlog data to LogOffUser (diff)
downloadopensim-SC_OLD-da8923450a2682ec3544cd6c814e691fb8cb4428.zip
opensim-SC_OLD-da8923450a2682ec3544cd6c814e691fb8cb4428.tar.gz
opensim-SC_OLD-da8923450a2682ec3544cd6c814e691fb8cb4428.tar.bz2
opensim-SC_OLD-da8923450a2682ec3544cd6c814e691fb8cb4428.tar.xz
Small bug in ResetScript
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs8
1 files changed, 1 insertions, 7 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
index 3bc64be..5e1b537 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
@@ -27,17 +27,11 @@
27*/ 27*/
28/* Original code: Tedd Hansen */ 28/* Original code: Tedd Hansen */
29using System; 29using System;
30using System.Collections.Generic;
31using System.IO;
32using System.Reflection;
33using System.Runtime.Serialization.Formatters.Binary;
34using System.Threading;
35using libsecondlife; 30using libsecondlife;
36using OpenSim.Framework; 31using OpenSim.Framework;
37using OpenSim.Region.Environment.Scenes; 32using OpenSim.Region.Environment.Scenes;
38using OpenSim.Region.ScriptEngine.Common; 33using OpenSim.Region.ScriptEngine.Common;
39using OpenSim.Region.ScriptEngine.Common.ScriptEngineBase; 34using OpenSim.Region.ScriptEngine.Common.ScriptEngineBase;
40using OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL;
41 35
42namespace OpenSim.Region.ScriptEngine.DotNetEngine 36namespace OpenSim.Region.ScriptEngine.DotNetEngine
43{ 37{
@@ -86,7 +80,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
86 Console.WriteLine("Script " + itemID + " occupies {0} bytes", GC.GetTotalMemory(true) - before); 80 Console.WriteLine("Script " + itemID + " occupies {0} bytes", GC.GetTotalMemory(true) - before);
87#endif 81#endif
88 82
89 CompiledScript.Source = ScriptSource; 83 CompiledScript.Source = Script;
90 // Add it to our script memstruct 84 // Add it to our script memstruct
91 SetScript(localID, itemID, CompiledScript); 85 SetScript(localID, itemID, CompiledScript);
92 86