Allow llList2Key to also act on System.String
parent
f7a60261e9
commit
67f18655d5
|
@ -5475,7 +5475,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
// for completion and should LSL_Key ever be implemented
|
// for completion and should LSL_Key ever be implemented
|
||||||
// as it's own struct
|
// as it's own struct
|
||||||
else if (!(src.Data[index] is LSL_String ||
|
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 "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue