mirror of
https://github.com/opensim/opensim.git
synced 2026-05-20 07:05:46 +08:00
Xengine: don't lose state change events
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user