Add implementation of llGetTimeOfDay()
parent
8465f378ac
commit
fdbf0c39d2
|
@ -1542,8 +1542,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
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