summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-08-26 11:30:37 +0200
committerTor Andersson <tor@ccxvii.net>2024-08-26 11:47:04 +0200
commit598aa6187e5adf07e5f440e457c8a6392bf95edb (patch)
treed8f9ef0f71e13856a53aef86eb7ed53289184915
parent1d2a4d99ad0fa80ff86841c9c5a173a81287d65f (diff)
downloadwashingtons-war-598aa6187e5adf07e5f440e457c8a6392bf95edb.tar.gz
fix eslint issues
-rw-r--r--play.js4
-rw-r--r--rules.js1
2 files changed, 1 insertions, 4 deletions
diff --git a/play.js b/play.js
index ddfd31c..0840827 100644
--- a/play.js
+++ b/play.js
@@ -1,7 +1,7 @@
"use strict"
/*
- global view, data, roles, send_action, action_button
+ global view, data, roles, send_action, action_button, confirm_action_button
*/
// TODO: show "reshuffle" flag next to card deck display
@@ -566,8 +566,6 @@ function layout_all_cu(an, fn, bn, ae, fe, be, pos) {
}
function on_update() {
- let e
-
remember_position(ui.turn_marker)
remember_position(ui.french_alliance)
remember_position(ui.french_navy)
diff --git a/rules.js b/rules.js
index 358c8a0..a77b2d5 100644
--- a/rules.js
+++ b/rules.js
@@ -3839,7 +3839,6 @@ function has_american_winter_attrition(s) {
}
function has_british_winter_attrition(s) {
- let wq = is_winter_quarter_space(s)
let n_british = count_british_cu(s)
// EXCEPT: Single CU in a space with General.