diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs b/OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs index 332085f..b6f8874 100644 --- a/OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs +++ b/OpenSim/Region/ScriptEngine/YEngine/XMRInstBackend.cs | |||
@@ -61,8 +61,8 @@ 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); | 64 | ms = (int)(ms * m_ScriptDelayFactor); |
65 | if (ms == 0) | 65 | if (ms < 10) |
66 | return; | 66 | return; |
67 | 67 | ||
68 | inst.Sleep(ms); | 68 | inst.Sleep(ms); |