diff options
Diffstat (limited to 'OpenSim/ApplicationPlugins/ScriptEngine/RegionEngineLoader.cs')
-rw-r--r-- | OpenSim/ApplicationPlugins/ScriptEngine/RegionEngineLoader.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/ApplicationPlugins/ScriptEngine/RegionEngineLoader.cs b/OpenSim/ApplicationPlugins/ScriptEngine/RegionEngineLoader.cs index 1023238..998f017 100644 --- a/OpenSim/ApplicationPlugins/ScriptEngine/RegionEngineLoader.cs +++ b/OpenSim/ApplicationPlugins/ScriptEngine/RegionEngineLoader.cs | |||
@@ -97,16 +97,16 @@ namespace OpenSim.ApplicationPlugins.ScriptEngine | |||
97 | m_log.DebugFormat("[{0}] Loading region script engine engine \"{1}\".", Name, tempScriptEngineName); | 97 | m_log.DebugFormat("[{0}] Loading region script engine engine \"{1}\".", Name, tempScriptEngineName); |
98 | try | 98 | try |
99 | { | 99 | { |
100 | lock (ScriptEnginePlugin.scriptEngines) | 100 | lock (ComponentFactory.scriptEngines) |
101 | { | 101 | { |
102 | if (!ScriptEnginePlugin.scriptEngines.ContainsKey(tempScriptEngineName)) | 102 | if (!ComponentFactory.scriptEngines.ContainsKey(tempScriptEngineName)) |
103 | { | 103 | { |
104 | m_log.ErrorFormat("[{0}] Unable to load region script engine: Script engine \"{1}\" does not exist.", Name, tempScriptEngineName); | 104 | m_log.ErrorFormat("[{0}] Unable to load region script engine: Script engine \"{1}\" does not exist.", Name, tempScriptEngineName); |
105 | } | 105 | } |
106 | else | 106 | else |
107 | { | 107 | { |
108 | scriptEngine = | 108 | scriptEngine = |
109 | Activator.CreateInstance(ScriptEnginePlugin.scriptEngines[tempScriptEngineName]) as | 109 | Activator.CreateInstance(ComponentFactory.scriptEngines[tempScriptEngineName]) as |
110 | IScriptEngine; | 110 | IScriptEngine; |
111 | } | 111 | } |
112 | } | 112 | } |