aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 5016cd5..2d858dc 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -1542,8 +1542,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1542 public double llGetTimeOfDay() 1542 public double llGetTimeOfDay()
1543 { 1543 {
1544 m_host.AddScriptLPS(1); 1544 m_host.AddScriptLPS(1);
1545 NotImplemented("llGetTimeOfDay"); 1545 return (double)(((DateTime.Now.TimeOfDay.Milliseconds / 1000) % (3600 * 4)) * World.TimeDilation);
1546 return 0;
1547 } 1546 }
1548 1547
1549 public double llGetWallclock() 1548 public double llGetWallclock()