aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs b/OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs
index 833211f..332085f 100644
--- a/OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs
+++ b/OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs
@@ -61,6 +61,10 @@ namespace OpenSim.Region.ScriptEngine.Yengine
61 61
62 protected override void ScriptSleep(int ms) 62 protected override void ScriptSleep(int ms)
63 { 63 {
64 ms = (int)((float)ms * m_ScriptDelayFactor);
65 if (ms == 0)
66 return;
67
64 inst.Sleep(ms); 68 inst.Sleep(ms);
65 } 69 }
66 70