Mantis#1653. Thank you kindly, Vytek for a patch that:
Implements llGetTimeOfDay().0.6.0-stable
parent
fde6983cce
commit
e3a583f4b4
|
@ -1393,8 +1393,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
public double llGetTimeOfDay()
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
NotImplemented("llGetTimeOfDay");
|
||||
return 0;
|
||||
return (double) (((DateTime.Now.TimeOfDay.Milliseconds / 1000) % (3600*4))*World.TimeDilation);
|
||||
}
|
||||
|
||||
public double llGetWallclock()
|
||||
|
|
Loading…
Reference in New Issue