diff --git a/Libraries/SPTarkov.Server.Core/Helpers/WeatherHelper.cs b/Libraries/SPTarkov.Server.Core/Helpers/WeatherHelper.cs index 222570f6..f7f28461 100644 --- a/Libraries/SPTarkov.Server.Core/Helpers/WeatherHelper.cs +++ b/Libraries/SPTarkov.Server.Core/Helpers/WeatherHelper.cs @@ -19,16 +19,14 @@ public class WeatherHelper( /// /// Get the current in-raid time - does not include an accurate date, only time /// - /// (new Date()) + /// (new Date()) /// Date object of current in-raid time public DateTime GetInRaidTime(long? timestamp = null) { // tarkov time = (real time * 7 % 24 hr) + 3 hour var russiaOffsetMilliseconds = _timeUtil.GetHoursAsSeconds(3) * 1000; var twentyFourHoursMilliseconds = _timeUtil.GetHoursAsSeconds(24) * 1000; - var currentTimestampMilliSeconds = timestamp.HasValue - ? timestamp ?? 0 - : _timeUtil.GetTimeStamp(); + var currentTimestampMilliSeconds = timestamp ?? _timeUtil.GetTimeStamp(); return _timeUtil.GetDateTimeFromTimeStamp( (long)