Skip to content

Commit

Permalink
Start limitin pot value already in October
Browse files Browse the repository at this point in the history
  • Loading branch information
mpartio committed Oct 21, 2024
1 parent 5a01497 commit 3ed98cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions himan-scripts/pot-limit-values.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit 3ed98cc

Please sign in to comment.