summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-01-27 17:16:30 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-27 17:16:30 +0100
commit1fe39eda9bd3f0d68525770179bb7bd92d8ae6f0 (patch)
tree49ec1fce390110a2a5e47eb7ee588b7ec79ec2db /rules.js
parent1c75bc5f4d703d73cc32374fd636dc0dcc902f39 (diff)
downloadplantagenet-1fe39eda9bd3f0d68525770179bb7bd92d8ae6f0.tar.gz
More eslint fixes.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/rules.js b/rules.js
index 5fcabca..62a0d4e 100644
--- a/rules.js
+++ b/rules.js
@@ -138,10 +138,6 @@ const vassal_count = data.vassals.length
const first_lord = 0
const last_lord = lord_count - 1
-const first_york_locale = 0
-const last_york_locale = 73
-const first_lancaster_locale = 0
-const last_lancaster_locale = 73
const first_locale = 0
const last_locale = data.locales.length - 1
@@ -9060,8 +9056,6 @@ function end_assign_hits() {
}
function for_each_target(fn) {
- let target = game.battle.target
-
for (let target of game.battle.target) {
fn(game.battle.array[target])
}