diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-04-18 17:42:10 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-03 18:48:16 +0200 |
commit | 9f968838f3a80a21543c03afe9ced9f6725dcf51 (patch) | |
tree | cf5461aef3ac3e5f0ad399d62a3fe34c19be9a93 /rules.js | |
parent | 9dd5ae55293da6e9db3916872fac6cd0c1d3cf13 (diff) | |
download | andean-abyss-9f968838f3a80a21543c03afe9ced9f6725dcf51.tar.gz |
Fix typo.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -321,11 +321,9 @@ exports.setup = function (seed, scenario, options) { if (scenario === "Test") { game.deck = [] for (let i = 1; i < PROPAGANDA; ++i) - if (i !== 1 && i !== 2 && i !== 3 && i !== 7 && i !== 9 && i !== 10 && i !== 11 && i !== 13) - game.deck.push(i) + game.deck.push(i) } - game.deck[0] = 73 log("DEBUG DECK " + game.deck.join(", ")) update_control() @@ -5572,7 +5570,7 @@ function calc_support() { let n = 0 for (let s = first_pop; s <= last_pop; ++s) if (game.support[s] > 0) - n += data.spaces[s].pop * view.support[s] + n += data.spaces[s].pop * game.support[s] return n } |