aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
index 9f69ebb..572debc 100644
--- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
@@ -448,6 +448,10 @@ namespace OpenSim.Region.ScriptEngine.Shared
448 { 448 {
449 return (LSL_Types.key)m_data[itemIndex]; 449 return (LSL_Types.key)m_data[itemIndex];
450 } 450 }
451 else if (m_data[itemIndex] is String)
452 {
453 return new LSL_Types.LSLString((string)m_data[itemIndex]);
454 }
451 else 455 else
452 { 456 {
453 return (LSL_Types.LSLString)m_data[itemIndex]; 457 return (LSL_Types.LSLString)m_data[itemIndex];