From 61449071c173884cdefd5ec765ed88c6535f6176 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 4 Jan 2023 12:51:49 +0100 Subject: Fix winter check (sailing). --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.js b/rules.js index b9923c3..ec0277f 100644 --- a/rules.js +++ b/rules.js @@ -419,7 +419,7 @@ function current_season() { function is_winter() { let season = current_season() - return season !== EARLY_WINTER && season !== LATE_WINTER + return season === EARLY_WINTER || season === LATE_WINTER } function is_summer() { -- cgit v1.2.3