From 3941c827cca99aaa21fcd9bc54848c17915dd4cd Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 19 Dec 2018 03:52:43 +0000 Subject: [PATCH] oops --- .../Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 ++-- 1 file 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 bbc2fd6e0f..cfbc6c507f 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 LSL_List remaining = GetPrimParams(m_host, rules, ref result); - while ((object)remaining != null && remaining.Length > 2) + while ((object)remaining != null && remaining.Length > 1) { int linknumber = remaining.GetLSLIntegerItem(0); rules = remaining.GetSublist(1, -1); @@ -14866,7 +14866,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api LSL_List remaining = GetPrimParams(obj, rules, ref result); - while (remaining.Length > 2) + while (remaining.Length > 1) { int linknumber; try