summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-24 09:50:42 +0100
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-24 09:50:42 +0100
commitd6eaa9d9113d54a85fc1a9b13b203d874952b5f2 (patch)
tree153c6b3ffedd688ba3e3f866d0d07b770dbb484e
parent1007420654b0e36b18e8a041b86312a32138b432 (diff)
downloadvotes-for-women-d6eaa9d9113d54a85fc1a9b13b203d874952b5f2.tar.gz
parens doh
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index d7f5fbb..da32079 100644
--- a/rules.js
+++ b/rules.js
@@ -213,10 +213,11 @@ function player_campaigners() {
function for_each_player_campaigner(fn) {
let i = (game.active === SUF) ? 1 : 5
- for (let r of player_campaigners())
+ for (let r of player_campaigners()) {
if (r)
fn(i)
i++
+ }
}
function campaigner_region(c) {