From 3ed98ccf4e9f04519284741add8c86221ed17daf Mon Sep 17 00:00:00 2001 From: Mikko Partio Date: Mon, 21 Oct 2024 12:06:40 +0300 Subject: [PATCH] Start limitin pot value already in October --- himan-scripts/pot-limit-values.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/himan-scripts/pot-limit-values.lua b/himan-scripts/pot-limit-values.lua index 72fb5ed7..cfebe38d 100644 --- a/himan-scripts/pot-limit-values.lua +++ b/himan-scripts/pot-limit-values.lua @@ -17,8 +17,8 @@ function LimitMaximumValueDuringWinter(POT, maximum) local m = tonumber(current_time:GetValidDateTime():String("%m")) - -- winter is november to march - if m >= 11 or m <= 3 then + -- winter is from october to march + if m >= 10 or m <= 3 then for i=1, #POT do local pot = POT[i]