summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-04 12:51:49 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commit61449071c173884cdefd5ec765ed88c6535f6176 (patch)
treea6594c78bf697b03ce27b60166cee578d4ed4573 /rules.js
parent8a2455c743a884435061f67917611eba4818dfc8 (diff)
downloadnevsky-61449071c173884cdefd5ec765ed88c6535f6176.tar.gz
Fix winter check (sailing).
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
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() {