aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
index ab46491..17c06e7 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
@@ -650,11 +650,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
650 { 650 {
651 EventParams data = null; 651 EventParams data = null;
652 652
653 if (Suspended)
654 return 0;
655
653 lock (m_EventQueue) 656 lock (m_EventQueue)
654 { 657 {
655 if (Suspended)
656 return 0;
657
658 lock (m_Script) 658 lock (m_Script)
659 { 659 {
660 data = (EventParams) m_EventQueue.Dequeue(); 660 data = (EventParams) m_EventQueue.Dequeue();
@@ -685,7 +685,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
685 lock(m_Script) 685 lock(m_Script)
686 { 686 {
687 687
688 //m_log.DebugFormat("[XEngine]: Processing event {0} for {1}", data.EventName, this); 688// m_log.DebugFormat("[XEngine]: Processing event {0} for {1}", data.EventName, this);
689 689
690 m_DetectParams = data.DetectParams; 690 m_DetectParams = data.DetectParams;
691 691