mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
From: Alan Webb (alan_webb@us.ibm.com)
Fix the broken llSetTimerEvent implementation (sec == 0 was not possible anymore).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user