diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 10ebf67..a76f386 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -5266,7 +5266,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
5266 | public LSL_Integer llGetRegionAgentCount() | 5266 | public LSL_Integer llGetRegionAgentCount() |
5267 | { | 5267 | { |
5268 | m_host.AddScriptLPS(1); | 5268 | m_host.AddScriptLPS(1); |
5269 | return new LSL_Integer(World.GetAvatars().Count); | 5269 | return new LSL_Integer(World.GetRootAgentCount()); |
5270 | } | 5270 | } |
5271 | 5271 | ||
5272 | public LSL_Vector llGetRegionCorner() | 5272 | public LSL_Vector llGetRegionCorner() |