diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-07-17 22:16:21 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:12:55 +0100 |
commit | 0cd62c5af96dc8752a237d25c609c406d40b1d6c (patch) | |
tree | d751288429f77a5526894d3f2327d9fcc53438e0 | |
parent | 957ed31d4ea23802ab3e13bae7b780633473b1e4 (diff) | |
download | richard-iii-0cd62c5af96dc8752a237d25c609c406d40b1d6c.tar.gz |
richard: Fix sea moving to exile areas.
-rw-r--r-- | rules.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1850,6 +1850,8 @@ states.sea_move_to = { for (let to of AREAS[game.location[game.who]].exits) { if (to === game.last_from) continue; + if (is_enemy_exile_area(to)) + continue; if (is_friendly_or_vacant_area(to)) { if (game.moves === 0) { if (game.move_port[game.origin] === to) |