From 5e0c32e9c2dbe523b202c2235ff5d64ad6ca3071 Mon Sep 17 00:00:00 2001 From: Cj <161484149+CJ-SPT@users.noreply.github.com> Date: Mon, 6 Oct 2025 05:22:43 -0400 Subject: [PATCH] Add method comment --- Libraries/SPTarkov.Server.Core/Helpers/WeatherHelper.cs | 5 +++++ 1 file changed, 5 insertions(+) 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;