Fix the broken llSetTimerEvent implementation (sec == 0 was not
possible anymore).
This commit is contained in:
Dr Scofield
2008-11-12 11:02:55 +00:00
parent 0e21182a09
commit 4b5e09a36b

View File

@@ -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