mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
mantis 3315: change the control of script flag running (needs testing)
This commit is contained in:
@@ -401,11 +401,14 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
}
|
||||
else
|
||||
{
|
||||
if(m_IState == XMRInstState.ONSLEEPQ)
|
||||
if (m_IState == XMRInstState.ONSLEEPQ)
|
||||
{
|
||||
m_Engine.RemoveFromSleep(this);
|
||||
m_IState = XMRInstState.SUSPENDED;
|
||||
}
|
||||
else if (m_IState == XMRInstState.IDLE)
|
||||
m_IState = XMRInstState.SUSPENDED;
|
||||
|
||||
EmptyEventQueues();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user