Allow llList2Key to also act on System.String

This commit is contained in:
Melanie
2012-08-29 22:06:43 +02:00
parent f7a60261e9
commit 67f18655d5

View File

@@ -5475,7 +5475,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
// for completion and should LSL_Key ever be implemented
// as it's own struct
else if (!(src.Data[index] is LSL_String ||
src.Data[index] is LSL_Key))
src.Data[index] is LSL_Key ||
src.Data[index] is String))
{
return "";
}