diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs index 01af0af..c972683 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs | |||
@@ -48,7 +48,11 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
48 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 48 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
49 | 49 | ||
50 | public static List<ScriptEngine> ScriptEngines = new List<ScriptEngine>(); | 50 | public static List<ScriptEngine> ScriptEngines = new List<ScriptEngine>(); |
51 | public Scene World; | 51 | private Scene m_Scene; |
52 | public Scene World | ||
53 | { | ||
54 | get { return m_Scene; } | ||
55 | } | ||
52 | public EventManager m_EventManager; // Handles and queues incoming events from OpenSim | 56 | public EventManager m_EventManager; // Handles and queues incoming events from OpenSim |
53 | public EventQueueManager m_EventQueueManager; // Executes events, handles script threads | 57 | public EventQueueManager m_EventQueueManager; // Executes events, handles script threads |
54 | public ScriptManager m_ScriptManager; // Load, unload and execute scripts | 58 | public ScriptManager m_ScriptManager; // Load, unload and execute scripts |
@@ -94,7 +98,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
94 | 98 | ||
95 | public void InitializeEngine(Scene Sceneworld, IConfigSource config, bool HookUpToServer, ScriptManager newScriptManager) | 99 | public void InitializeEngine(Scene Sceneworld, IConfigSource config, bool HookUpToServer, ScriptManager newScriptManager) |
96 | { | 100 | { |
97 | World = Sceneworld; | 101 | m_Scene = Sceneworld; |
98 | ConfigSource = config; | 102 | ConfigSource = config; |
99 | m_hookUpToServer = HookUpToServer; | 103 | m_hookUpToServer = HookUpToServer; |
100 | 104 | ||