Xengine: don't lose state change events

0.9.1.0-post-fixes
UbitUmarov 2019-02-20 04:04:35 +00:00
parent b56eb2fe63
commit 7c0eab8a23
1 changed files with 1 additions and 1 deletions

View File

@ -699,7 +699,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
// If min event delay is set then ignore any events untill the time has expired
// This currently only allows 1 event of any type in the given time period.
// This may need extending to allow for a time for each individual event type.
if (m_eventDelayTicks != 0)
if (m_eventDelayTicks != 0 && data.EventName != "state" && data.EventName != "state_entry" && data.EventName != "state_exit")
{
if (DateTime.Now.Ticks < m_nextEventTimeTicks)
return;