let osGetRegionStats return a list with all the avaiable values (43 currently)

This commit is contained in:
UbitUmarov
2021-05-04 20:39:52 +01:00
parent c816c220af
commit b72676bae9
3 changed files with 9 additions and 9 deletions

View File

@@ -3702,7 +3702,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
LSL_List ret = new LSL_List();
float[] stats = World.StatsReporter.LastReportedSimStats;
for (int i = 0; i < 21; i++)
for (int i = 0; i < stats.Length; i++)
{
ret.Add(new LSL_Float(stats[i]));
}