From 4b5e09a36b3e9891ba3c2c616621a2c798cf255e Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Wed, 12 Nov 2008 11:02:55 +0000 Subject: [PATCH] From: Alan Webb (alan_webb@us.ibm.com) Fix the broken llSetTimerEvent implementation (sec == 0 was not possible anymore). --- .../Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 09d3d79bd3..ab7b710c20 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -2467,7 +2467,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llSetTimerEvent(double sec) { - if (sec < m_MinTimerInterval) + if (sec != 0.0 && sec < m_MinTimerInterval) sec = m_MinTimerInterval; m_host.AddScriptLPS(1); // Setting timer repeat