aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
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 d856464..5caade6 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5123,7 +5123,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5123 else if (src.Data[index] is LSL_Float) 5123 else if (src.Data[index] is LSL_Float)
5124 return Convert.ToDouble(((LSL_Float) src.Data[index]).value); 5124 return Convert.ToDouble(((LSL_Float) src.Data[index]).value);
5125 else if (src.Data[index] is LSL_String) 5125 else if (src.Data[index] is LSL_String)
5126 return Convert.ToDouble(Regex.Replace(((LSL_String)src.Data[index]).m_string, "[^0-9]", "")); 5126 return Convert.ToDouble(((LSL_String) src.Data[index]).m_string);
5127 return Convert.ToDouble(src.Data[index]); 5127 return Convert.ToDouble(src.Data[index]);
5128 } 5128 }
5129 catch (FormatException) 5129 catch (FormatException)