mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
Merge commit '19096bd391ac88bbccda00e4660a061020118bb9' into bigmerge
This commit is contained in:
@@ -6383,7 +6383,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
public LSL_Float llGetRegionFPS()
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
return World.StatsReporter.getLastReportedSimFPS();
|
||||
return World.StatsReporter.LastReportedSimFPS;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -2470,7 +2470,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
CheckThreatLevel(ThreatLevel.Moderate, "osGetRegionStats");
|
||||
m_host.AddScriptLPS(1);
|
||||
LSL_List ret = new LSL_List();
|
||||
float[] stats = World.StatsReporter.getLastReportedSimStats();
|
||||
float[] stats = World.StatsReporter.LastReportedSimStats;
|
||||
|
||||
for (int i = 0; i < 21; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user