From f6db9e044d56ed86d95d468980bef2c8acc4f1c8 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 28 Mar 2019 13:46:39 +0000 Subject: Yengine: fix scripts resume on attachments drop --- OpenSim/Region/ScriptEngine/YEngine/XMRInstRun.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine/YEngine') 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 lock(m_QueueLock) { m_Suspended = false; - if((m_EventQueue != null) && + m_DetachQuantum = 0; + if ((m_EventQueue != null) && (m_EventQueue.First != null) && (m_IState == XMRInstState.IDLE)) { -- cgit v1.1