diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/YEngine/XMRInstCtor.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMRInstCtor.cs b/OpenSim/Region/ScriptEngine/YEngine/XMRInstCtor.cs index b140453..7e13ae4 100644 --- a/OpenSim/Region/ScriptEngine/YEngine/XMRInstCtor.cs +++ b/OpenSim/Region/ScriptEngine/YEngine/XMRInstCtor.cs | |||
@@ -527,6 +527,11 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
527 | XmlElement doGblInitN = (XmlElement)scriptStateN.SelectSingleNode("DoGblInit"); | 527 | XmlElement doGblInitN = (XmlElement)scriptStateN.SelectSingleNode("DoGblInit"); |
528 | doGblInit = bool.Parse(doGblInitN.InnerText); | 528 | doGblInit = bool.Parse(doGblInitN.InnerText); |
529 | 529 | ||
530 | double minEventDelay = 0.0; | ||
531 | XmlElement minEventDelayN = (XmlElement)scriptStateN.SelectSingleNode("mEvtDly"); | ||
532 | if(minEventDelayN != null) | ||
533 | minEventDelay = Double.Parse(minEventDelayN.InnerText); | ||
534 | |||
530 | // get values used by stuff like llDetectedGrab, etc. | 535 | // get values used by stuff like llDetectedGrab, etc. |
531 | DetectParams[] detParams = RestoreDetectParams(scriptStateN.SelectSingleNode("DetectArray")); | 536 | DetectParams[] detParams = RestoreDetectParams(scriptStateN.SelectSingleNode("DetectArray")); |
532 | 537 | ||
@@ -576,6 +581,8 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
576 | AsyncCommandManager.CreateFromData(m_Engine, | 581 | AsyncCommandManager.CreateFromData(m_Engine, |
577 | m_LocalID, m_ItemID, m_Part.UUID, | 582 | m_LocalID, m_ItemID, m_Part.UUID, |
578 | pluginData); | 583 | pluginData); |
584 | |||
585 | MinEventDelay = minEventDelay; | ||
579 | } | 586 | } |
580 | 587 | ||
581 | private void processXstate(XmlDocument doc) | 588 | private void processXstate(XmlDocument doc) |
@@ -919,6 +926,8 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
919 | 926 | ||
920 | AsyncCommandManager.CreateFromData(m_Engine, | 927 | AsyncCommandManager.CreateFromData(m_Engine, |
921 | m_LocalID, m_ItemID, m_Part.UUID, pluginData); | 928 | m_LocalID, m_ItemID, m_Part.UUID, pluginData); |
929 | |||
930 | MinEventDelay = minEventDelay; | ||
922 | } | 931 | } |
923 | 932 | ||
924 | private static void getvarNames(Dictionary<int, string> s, Dictionary<string, int> d) | 933 | private static void getvarNames(Dictionary<int, string> s, Dictionary<string, int> d) |