aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
index 7a9c80c..da344d6 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -644,6 +644,10 @@ namespace OpenSim.Region.ScriptEngine.XEngine
644 m_Scene.EventManager.OnGetScriptRunning += OnGetScriptRunning; 644 m_Scene.EventManager.OnGetScriptRunning += OnGetScriptRunning;
645 m_Scene.EventManager.OnShutdown += OnShutdown; 645 m_Scene.EventManager.OnShutdown += OnShutdown;
646 646
647 // If region ready has been triggered, then the region had no scripts to compile and completed its other
648 // work.
649 m_Scene.EventManager.OnRegionReady += s => m_InitialStartup = false;
650
647 if (m_SleepTime > 0) 651 if (m_SleepTime > 0)
648 { 652 {
649 m_ThreadPool.QueueWorkItem(new WorkItemCallback(this.DoMaintenance), 653 m_ThreadPool.QueueWorkItem(new WorkItemCallback(this.DoMaintenance),