diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index f521630..d540e13 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -1393,8 +1393,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1393 | public double llGetTimeOfDay() | 1393 | public double llGetTimeOfDay() |
1394 | { | 1394 | { |
1395 | m_host.AddScriptLPS(1); | 1395 | m_host.AddScriptLPS(1); |
1396 | NotImplemented("llGetTimeOfDay"); | 1396 | return (double) (((DateTime.Now.TimeOfDay.Milliseconds / 1000) % (3600*4))*World.TimeDilation); |
1397 | return 0; | ||
1398 | } | 1397 | } |
1399 | 1398 | ||
1400 | public double llGetWallclock() | 1399 | public double llGetWallclock() |