aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
diff options
context:
space:
mode:
authorTedd Hansen2008-02-20 17:14:01 +0000
committerTedd Hansen2008-02-20 17:14:01 +0000
commit96edcea3aece0da0e34a765ef4bc3a70a069b272 (patch)
tree6f6908a9b5d936ab231436790c0dcec124080fc1 /OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
parent* re-enabled AssetNotFound code (diff)
downloadopensim-SC-96edcea3aece0da0e34a765ef4bc3a70a069b272.zip
opensim-SC-96edcea3aece0da0e34a765ef4bc3a70a069b272.tar.gz
opensim-SC-96edcea3aece0da0e34a765ef4bc3a70a069b272.tar.bz2
opensim-SC-96edcea3aece0da0e34a765ef4bc3a70a069b272.tar.xz
llSetTimerEvent was setting seconds as milliseconds causing major problems in timed scripts...
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 1ab2a43..c14a74f 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -1244,7 +1244,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1244 { 1244 {
1245 m_host.AddScriptLPS(1); 1245 m_host.AddScriptLPS(1);
1246 // Setting timer repeat 1246 // Setting timer repeat
1247 m_ScriptEngine.m_ASYNCLSLCommandManager.SetTimerEvent(m_localID, m_itemID, sec); 1247 m_ScriptEngine.m_ASYNCLSLCommandManager.SetTimerEvent(m_localID, m_itemID, sec / 1000);
1248 } 1248 }
1249 1249
1250 public void llSleep(double sec) 1250 public void llSleep(double sec)