From 96edcea3aece0da0e34a765ef4bc3a70a069b272 Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Wed, 20 Feb 2008 17:14:01 +0000 Subject: llSetTimerEvent was setting seconds as milliseconds causing major problems in timed scripts... --- .../ScriptEngine/Common/ScriptEngineBase/AsyncLSLCommandManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase') diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncLSLCommandManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncLSLCommandManager.cs index 0491612..baab096 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncLSLCommandManager.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncLSLCommandManager.cs @@ -160,7 +160,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase TimerClass ts = new TimerClass(); ts.localID = m_localID; ts.itemID = m_itemID; - ts.interval = sec; + ts.interval = sec / 1000; ts.next = DateTime.Now.ToUniversalTime().AddSeconds(ts.interval); lock (TimerListLock) { -- cgit v1.1