diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 3fa65f5..fbfb400 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -474,7 +474,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
474 | 474 | ||
475 | public void llSensor(string name, string id, int type, double range, double arc) | 475 | public void llSensor(string name, string id, int type, double range, double arc) |
476 | { | 476 | { |
477 | m_host.AddScriptLPS(1); | 477 | m_host.AddScriptLPS(300); |
478 | LLUUID keyID = LLUUID.Zero; | 478 | LLUUID keyID = LLUUID.Zero; |
479 | LLUUID.TryParse(id, out keyID); | 479 | LLUUID.TryParse(id, out keyID); |
480 | 480 | ||
@@ -1818,7 +1818,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1818 | 1818 | ||
1819 | public void llSleep(double sec) | 1819 | public void llSleep(double sec) |
1820 | { | 1820 | { |
1821 | m_host.AddScriptLPS(1); | 1821 | m_host.AddScriptLPS((int)(sec * 100)); |
1822 | Thread.Sleep((int)(sec * 1000)); | 1822 | Thread.Sleep((int)(sec * 1000)); |
1823 | } | 1823 | } |
1824 | 1824 | ||
@@ -2582,7 +2582,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2582 | 2582 | ||
2583 | public void llResetScript() | 2583 | public void llResetScript() |
2584 | { | 2584 | { |
2585 | m_host.AddScriptLPS(1); | 2585 | m_host.AddScriptLPS(800); |
2586 | m_ScriptEngine.m_ScriptManager.ResetScript(m_localID, m_itemID); | 2586 | m_ScriptEngine.m_ScriptManager.ResetScript(m_localID, m_itemID); |
2587 | } | 2587 | } |
2588 | 2588 | ||
@@ -4279,7 +4279,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
4279 | ScriptManager sm; | 4279 | ScriptManager sm; |
4280 | IScript script = null; | 4280 | IScript script = null; |
4281 | 4281 | ||
4282 | m_host.AddScriptLPS(1); | 4282 | m_host.AddScriptLPS(8000); |
4283 | 4283 | ||
4284 | // These functions are supposed to be robust, | 4284 | // These functions are supposed to be robust, |
4285 | // so get the state one step at a time. | 4285 | // so get the state one step at a time. |