aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs
diff options
context:
space:
mode:
authorUbitUmarov2019-02-20 20:12:13 +0000
committerUbitUmarov2019-02-20 20:12:13 +0000
commit72c472f98858a6609d12ad36791fe497cd9f21d5 (patch)
tree8f665b1703f5c21a9d96654dad4c0b5958d013af /OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs
parentXengine: exclude a few more events from mineventdelay (diff)
downloadopensim-SC-72c472f98858a6609d12ad36791fe497cd9f21d5.zip
opensim-SC-72c472f98858a6609d12ad36791fe497cd9f21d5.tar.gz
opensim-SC-72c472f98858a6609d12ad36791fe497cd9f21d5.tar.bz2
opensim-SC-72c472f98858a6609d12ad36791fe497cd9f21d5.tar.xz
Yengine: let llminEventDelay do something: it just ignores a more limited set of events than Xengine (neither do as SL)
Diffstat (limited to 'OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs b/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs
index 017b294..6acc293 100644
--- a/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs
+++ b/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs
@@ -930,12 +930,15 @@ namespace OpenSim.Region.ScriptEngine.Yengine
930 930
931 public void SetMinEventDelay(UUID itemID, double delay) 931 public void SetMinEventDelay(UUID itemID, double delay)
932 { 932 {
933 XMRInstance instance = GetInstance(itemID);
934 if (instance != null)
935 instance.MinEventDelay = delay;
933 } 936 }
934 937
935 public int GetStartParameter(UUID itemID) 938 public int GetStartParameter(UUID itemID)
936 { 939 {
937 XMRInstance instance = GetInstance(itemID); 940 XMRInstance instance = GetInstance(itemID);
938 if(instance == null) 941 if (instance == null)
939 return 0; 942 return 0;
940 return instance.StartParam; 943 return instance.StartParam;
941 } 944 }