aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 }