diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 443ea72..31be2fb 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -5807,8 +5807,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
5807 | string s = item.ToString(); | 5807 | string s = item.ToString(); |
5808 | if(UUID.TryParse(s, out uuidt)) | 5808 | if(UUID.TryParse(s, out uuidt)) |
5809 | return Convert.ToDouble(new LSL_Integer(s).value); | 5809 | return Convert.ToDouble(new LSL_Integer(s).value); |
5810 | else | 5810 | // we can't do this because a string is also a LSL_Key for now :( |
5811 | return 0; | 5811 | // else |
5812 | // return 0; | ||
5812 | } | 5813 | } |
5813 | 5814 | ||
5814 | try | 5815 | try |