summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index b7b2025..b8319aa 100644
--- a/rules.js
+++ b/rules.js
@@ -1607,7 +1607,7 @@ states.persian_naval_retreat_defender = {
gen_action(view, 'port', game.where); // shortcut for battle
if (game.greek.event !== THEMISTOCLES)
for (let port of PORTS)
- if (is_greek_control(port))
+ if (is_greek_control(port) && count_persian_fleets(port) === 0)
gen_action(view, 'port', port);
gen_action(view, 'battle');
},
@@ -1635,7 +1635,7 @@ states.greek_naval_retreat_defender = {
gen_action(view, 'port', game.where); // shortcut for battle
if (game.greek.event !== THEMISTOCLES)
for (let port of PORTS)
- if (is_persian_control(port))
+ if (is_persian_control(port) && count_greek_fleets(port) === 0)
gen_action(view, 'port', port);
gen_action(view, 'battle');
},