diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 72c244617d1..90f9efe83f2 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -3115,7 +3115,7 @@ public LSL_Float llGetWallclock() { var tzinfo = TimeZoneInfo.FindSystemTimeZoneById("Pacific Standard Time"); var dateTime = TimeZoneInfo.ConvertTime(DateTimeOffset.UtcNow, tzinfo).DateTime; - return (float)Math.Truncate(dateTime.TimeOfDay.TotalSeconds); + return Math.Truncate(dateTime.TimeOfDay.TotalSeconds); } public LSL_Float llGetTime()