diff options
-rw-r--r-- | OpenSim/Region/ScriptEngine/YEngine/XMRInstRun.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMRInstRun.cs b/OpenSim/Region/ScriptEngine/YEngine/XMRInstRun.cs index 1b735e3..3743b7e 100644 --- a/OpenSim/Region/ScriptEngine/YEngine/XMRInstRun.cs +++ b/OpenSim/Region/ScriptEngine/YEngine/XMRInstRun.cs | |||
@@ -937,7 +937,8 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
937 | lock(m_QueueLock) | 937 | lock(m_QueueLock) |
938 | { | 938 | { |
939 | m_Suspended = false; | 939 | m_Suspended = false; |
940 | if((m_EventQueue != null) && | 940 | m_DetachQuantum = 0; |
941 | if ((m_EventQueue != null) && | ||
941 | (m_EventQueue.First != null) && | 942 | (m_EventQueue.First != null) && |
942 | (m_IState == XMRInstState.IDLE)) | 943 | (m_IState == XMRInstState.IDLE)) |
943 | { | 944 | { |