diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-02-13 01:11:41 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-02-13 01:12:29 +0100 |
commit | 0304f1d2dfff413ba6b108a1bc1a8c13c0878b4c (patch) | |
tree | dc2155885a8d7b1b0884ad48bac5bacd42b81f1f | |
parent | b825d600624124e43829d4344b814c962956f811 (diff) | |
download | plantagenet-0304f1d2dfff413ba6b108a1bc1a8c13c0878b4c.tar.gz |
Fix iteration over locales in goto_warwicks_propaganda.
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3034,7 +3034,7 @@ function is_propaganda_target(loc) { function goto_warwicks_propaganda() { let can_play = false - for (let loc of data.locales) { + for (let loc = first_locale; loc <= last_locale; ++loc) { if (has_favoury_marker(loc)) { can_play = true } |