diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 74494d9..5c705b3 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -1454,7 +1454,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1454 | { | 1454 | { |
1455 | m_host.AddScriptLPS(1); | 1455 | m_host.AddScriptLPS(1); |
1456 | TimeSpan ScriptTime = DateTime.Now - m_timer; | 1456 | TimeSpan ScriptTime = DateTime.Now - m_timer; |
1457 | return (double)(ScriptTime.TotalMilliseconds / 1000); | 1457 | return (double)((ScriptTime.TotalMilliseconds / 1000)*World.TimeDilation); |
1458 | } | 1458 | } |
1459 | 1459 | ||
1460 | public void llResetTime() | 1460 | public void llResetTime() |
@@ -1468,7 +1468,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1468 | m_host.AddScriptLPS(1); | 1468 | m_host.AddScriptLPS(1); |
1469 | TimeSpan ScriptTime = DateTime.Now - m_timer; | 1469 | TimeSpan ScriptTime = DateTime.Now - m_timer; |
1470 | m_timer = DateTime.Now; | 1470 | m_timer = DateTime.Now; |
1471 | return (double)(ScriptTime.TotalMilliseconds / 1000); | 1471 | return (double)((ScriptTime.TotalMilliseconds / 1000)*World.TimeDilation); |
1472 | } | 1472 | } |
1473 | 1473 | ||
1474 | public void llSound() | 1474 | public void llSound() |