diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs b/OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs index 833211f81d..332085f4e0 100644 --- a/OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs +++ b/OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs @@ -61,6 +61,10 @@ namespace OpenSim.Region.ScriptEngine.Yengine protected override void ScriptSleep(int ms) { + ms = (int)((float)ms * m_ScriptDelayFactor); + if (ms == 0) + return; + inst.Sleep(ms); }