From 0f574d432d6a2dd4a15a9d6bba236a7cf2656454 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 20 Feb 2019 20:36:43 +0000 Subject: Yengine:save minEventDelay in script state --- OpenSim/Region/ScriptEngine/YEngine/XMRInstCapture.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'OpenSim/Region/ScriptEngine/YEngine/XMRInstCapture.cs') diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMRInstCapture.cs b/OpenSim/Region/ScriptEngine/YEngine/XMRInstCapture.cs index 9bb894d..5798638 100644 --- a/OpenSim/Region/ScriptEngine/YEngine/XMRInstCapture.cs +++ b/OpenSim/Region/ScriptEngine/YEngine/XMRInstCapture.cs @@ -115,6 +115,15 @@ namespace OpenSim.Region.ScriptEngine.Yengine m_RunOnePhase = "GetExecutionState D"; CheckRunLockInvariants(true); + if (m_minEventDelay != 0.0) + { + XmlElement minEventDelayN = doc.CreateElement("", "mEvtDly", ""); + minEventDelayN.AppendChild(doc.CreateTextNode(m_minEventDelay.ToString())); + scriptStateN.AppendChild(minEventDelayN); + m_RunOnePhase = "GetExecutionState D"; + CheckRunLockInvariants(true); + } + // More misc data. XmlNode permissionsN = doc.CreateElement("", "Permissions", ""); scriptStateN.AppendChild(permissionsN); -- cgit v1.1