Xengine: don't lose state change events
parent
b56eb2fe63
commit
7c0eab8a23
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue