summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-05-04 02:03:39 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:42:59 +0100
commit2ca1651520f413b7ce9ebc6fcae5a609169c0ab7 (patch)
treec322b63bc171353fb1c09789cea46dcbd42e126f
parent9b4fa3b53f64127b4d3951b7abb8877d37312c0b (diff)
download300-earth-and-water-2ca1651520f413b7ce9ebc6fcae5a609169c0ab7.tar.gz
300: fix wrath of poseidon
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index d7ab00a..2cc124a 100644
--- a/rules.js
+++ b/rules.js
@@ -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) {