diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-05-04 02:03:39 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:42:59 +0100 |
commit | 2ca1651520f413b7ce9ebc6fcae5a609169c0ab7 (patch) | |
tree | c322b63bc171353fb1c09789cea46dcbd42e126f | |
parent | 9b4fa3b53f64127b4d3951b7abb8877d37312c0b (diff) | |
download | 300-earth-and-water-2ca1651520f413b7ce9ebc6fcae5a609169c0ab7.tar.gz |
300: fix wrath of poseidon
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2350,7 +2350,7 @@ states.ionian_revolt = { function can_play_wrath_of_poseidon() { for (let port of PORTS) - if (count_persian_armies(port) > 0) + if (count_persian_fleets(port) > 0) return true; return false; } @@ -2365,7 +2365,7 @@ states.wrath_of_poseidon = { return view.prompt = "Wrath of Poseidon."; view.prompt = "Wrath of Poseidon: Remove one Persian fleet from the map."; for (let port of PORTS) - if (count_persian_armies(port) > 0) + if (count_persian_fleets(port) > 0) gen_action(view, 'port', port); }, port: function (port) { |