mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
let osGetRegionStats return a list with all the avaiable values (43 currently)
This commit is contained in:
@@ -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]));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user