Yengine: fix scripts resume on attachments drop

0.9.1.0-post-fixes
UbitUmarov 2019-03-28 13:46:39 +00:00
parent 3644879677
commit f6db9e044d
1 changed files with 2 additions and 1 deletions

View File

@ -937,7 +937,8 @@ namespace OpenSim.Region.ScriptEngine.Yengine
lock(m_QueueLock) lock(m_QueueLock)
{ {
m_Suspended = false; m_Suspended = false;
if((m_EventQueue != null) && m_DetachQuantum = 0;
if ((m_EventQueue != null) &&
(m_EventQueue.First != null) && (m_EventQueue.First != null) &&
(m_IState == XMRInstState.IDLE)) (m_IState == XMRInstState.IDLE))
{ {