diff options
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index bbc2fd6..cfbc6c5 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -11257,7 +11257,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
11257 | 11257 | ||
11258 | LSL_List remaining = GetPrimParams(m_host, rules, ref result); | 11258 | LSL_List remaining = GetPrimParams(m_host, rules, ref result); |
11259 | 11259 | ||
11260 | while ((object)remaining != null && remaining.Length > 2) | 11260 | while ((object)remaining != null && remaining.Length > 1) |
11261 | { | 11261 | { |
11262 | int linknumber = remaining.GetLSLIntegerItem(0); | 11262 | int linknumber = remaining.GetLSLIntegerItem(0); |
11263 | rules = remaining.GetSublist(1, -1); | 11263 | rules = remaining.GetSublist(1, -1); |
@@ -14866,7 +14866,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
14866 | 14866 | ||
14867 | LSL_List remaining = GetPrimParams(obj, rules, ref result); | 14867 | LSL_List remaining = GetPrimParams(obj, rules, ref result); |
14868 | 14868 | ||
14869 | while (remaining.Length > 2) | 14869 | while (remaining.Length > 1) |
14870 | { | 14870 | { |
14871 | int linknumber; | 14871 | int linknumber; |
14872 | try | 14872 | try |