diff options
Diffstat (limited to 'OpenSim/Region/ExtensionsScriptModule')
-rw-r--r-- | OpenSim/Region/ExtensionsScriptModule/Engines/JVMEngine/Types/BaseType.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/ExtensionsScriptModule/ScriptManager.cs | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/OpenSim/Region/ExtensionsScriptModule/Engines/JVMEngine/Types/BaseType.cs b/OpenSim/Region/ExtensionsScriptModule/Engines/JVMEngine/Types/BaseType.cs index 41dc567..dc93b89 100644 --- a/OpenSim/Region/ExtensionsScriptModule/Engines/JVMEngine/Types/BaseType.cs +++ b/OpenSim/Region/ExtensionsScriptModule/Engines/JVMEngine/Types/BaseType.cs | |||
@@ -27,12 +27,10 @@ | |||
27 | */ | 27 | */ |
28 | 28 | ||
29 | using System; | 29 | using System; |
30 | using System.Collections.Generic; | ||
31 | using System.Text; | ||
32 | 30 | ||
33 | namespace OpenSim.Region.ExtensionsScriptModule.JVMEngine.Types | 31 | namespace OpenSim.Region.ExtensionsScriptModule.JVMEngine.Types |
34 | { | 32 | { |
35 | public class BaseType : Object | 33 | public class BaseType : Object |
36 | { | 34 | { |
37 | } | 35 | } |
38 | } | 36 | } \ No newline at end of file |
diff --git a/OpenSim/Region/ExtensionsScriptModule/ScriptManager.cs b/OpenSim/Region/ExtensionsScriptModule/ScriptManager.cs index 2778e9c..8cd94c3 100644 --- a/OpenSim/Region/ExtensionsScriptModule/ScriptManager.cs +++ b/OpenSim/Region/ExtensionsScriptModule/ScriptManager.cs | |||
@@ -47,7 +47,7 @@ namespace OpenSim.Region.ExtensionsScriptModule | |||
47 | foreach (KeyValuePair<string, IScript> script in compiledscripts) | 47 | foreach (KeyValuePair<string, IScript> script in compiledscripts) |
48 | { | 48 | { |
49 | ScriptInfo scriptInfo = new ScriptInfo(m_scene); | 49 | ScriptInfo scriptInfo = new ScriptInfo(m_scene); |
50 | // Since each script could potentially corrupt their access with a stray assignment, making a new one for each script. | 50 | // Since each script could potentially corrupt their access with a stray assignment, making a new one for each script. |
51 | MainLog.Instance.Verbose("Loading " + script.Key); | 51 | MainLog.Instance.Verbose("Loading " + script.Key); |
52 | script.Value.Initialise(scriptInfo); | 52 | script.Value.Initialise(scriptInfo); |
53 | scripts.Add(script.Value); | 53 | scripts.Add(script.Value); |
@@ -127,7 +127,7 @@ namespace OpenSim.Region.ExtensionsScriptModule | |||
127 | { | 127 | { |
128 | MainLog.Instance.Verbose("Loading script " + script.Name); | 128 | MainLog.Instance.Verbose("Loading script " + script.Name); |
129 | ScriptInfo scriptInfo = new ScriptInfo(m_scene); | 129 | ScriptInfo scriptInfo = new ScriptInfo(m_scene); |
130 | // Since each script could potentially corrupt their access with a stray assignment, making a new one for each script. | 130 | // Since each script could potentially corrupt their access with a stray assignment, making a new one for each script. |
131 | script.Initialise(scriptInfo); | 131 | script.Initialise(scriptInfo); |
132 | scripts.Add(script); | 132 | scripts.Add(script); |
133 | 133 | ||