diff --git a/Libraries/SPTarkov.Server.Core/Helpers/WeatherHelper.cs b/Libraries/SPTarkov.Server.Core/Helpers/WeatherHelper.cs index c2227051..afd916c0 100644 --- a/Libraries/SPTarkov.Server.Core/Helpers/WeatherHelper.cs +++ b/Libraries/SPTarkov.Server.Core/Helpers/WeatherHelper.cs @@ -70,6 +70,11 @@ public class WeatherHelper(ISptLogger logger, TimeUtil timeUtil, return time.Hour is > 21 or < 5; } + /// + /// Is the provided hour at night, nighttime is after 2100 and before 0600 + /// + /// Hour to check + /// True if nighttime hour public bool IsHourAtNightTime(int currentHour) { return currentHour is > 21 or <= 5;