fix a cast

LSLKeyTest
UbitUmarov 2016-09-21 14:41:14 +01:00
parent 5648f4ae6e
commit df7468ffa2
1 changed files with 1 additions and 1 deletions

View File

@ -653,7 +653,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
{ {
if (Data[itemIndex] is LSL_Types.key) if (Data[itemIndex] is LSL_Types.key)
{ {
return (LSL_Types.LSLString)Data[itemIndex]; return new LSL_Types.LSLString(Data[itemIndex].ToString());
} }
else else
{ {