aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 9405198..a58a480 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -705,7 +705,7 @@ namespace OpenSim.Region.ScriptEngine.Common
705 LSL_Types.list SenseList = m_ScriptEngine.m_ASYNCLSLCommandManager.m_SensorRepeat.GetSensorList(m_localID, m_itemID); 705 LSL_Types.list SenseList = m_ScriptEngine.m_ASYNCLSLCommandManager.m_SensorRepeat.GetSensorList(m_localID, m_itemID);
706 if (SenseList != null) 706 if (SenseList != null)
707 { 707 {
708 if ((number >= 0) && (number <= SenseList.Length)) 708 if ((number >= 0) && (number < SenseList.Length))
709 { 709 {
710 UUID SensedUUID = (UUID)SenseList.Data[number]; 710 UUID SensedUUID = (UUID)SenseList.Data[number];
711 return resolveName(SensedUUID); 711 return resolveName(SensedUUID);