diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-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 7f24f0e..e396bb4 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2457,7 +2457,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2457 | { | 2457 | { |
2458 | m_host.AddScriptLPS(1); | 2458 | m_host.AddScriptLPS(1); |
2459 | 2459 | ||
2460 | if (m_host.ParentGroup.Children.Count > 0) | 2460 | if (m_host.ParentGroup.Children.Count > 1) |
2461 | { | 2461 | { |
2462 | return m_host.LinkNum + 1; | 2462 | return m_host.LinkNum + 1; |
2463 | } | 2463 | } |