diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index a98fb04..bbbc6cc 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -5169,20 +5169,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
5169 | public LSL_String llList2CSV(LSL_List src) | 5169 | public LSL_String llList2CSV(LSL_List src) |
5170 | { | 5170 | { |
5171 | 5171 | ||
5172 | string ret = String.Empty; | ||
5173 | 5172 | ||
5174 | m_host.AddScriptLPS(1); | 5173 | m_host.AddScriptLPS(1); |
5175 | 5174 | ||
5176 | if (src.Data.Length > 0) | 5175 | return string.Join(", ", |
5177 | { | 5176 | (new List<object>(src.Data)).ConvertAll<string>(o => |
5178 | ret = string.Join(", ", | 5177 | { |
5179 | (new List<object>(src.Data)).ConvertAll<string>(o => | 5178 | return o.ToString(); |
5180 | { | 5179 | }).ToArray()); |
5181 | return o.ToString(); | ||
5182 | }).ToArray()); | ||
5183 | } | ||
5184 | |||
5185 | return ret; | ||
5186 | } | 5180 | } |
5187 | 5181 | ||
5188 | /// <summary> | 5182 | /// <summary> |