diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 74494d927e..5c705b3d97 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 { m_host.AddScriptLPS(1); TimeSpan ScriptTime = DateTime.Now - m_timer; - return (double)(ScriptTime.TotalMilliseconds / 1000); + return (double)((ScriptTime.TotalMilliseconds / 1000)*World.TimeDilation); } public void llResetTime() @@ -1468,7 +1468,7 @@ namespace OpenSim.Region.ScriptEngine.Common m_host.AddScriptLPS(1); TimeSpan ScriptTime = DateTime.Now - m_timer; m_timer = DateTime.Now; - return (double)(ScriptTime.TotalMilliseconds / 1000); + return (double)((ScriptTime.TotalMilliseconds / 1000)*World.TimeDilation); } public void llSound()