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()
|
public double llGetTimeOfDay()
|
||||||
{
|
{
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
NotImplemented("llGetTimeOfDay");
|
return (double) (((DateTime.Now.TimeOfDay.Milliseconds / 1000) % (3600*4))*World.TimeDilation);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public double llGetWallclock()
|
public double llGetWallclock()
|
||||||
|
|
Loading…
Reference in New Issue