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