diff options
author | teisuru <31881306+teisuru@users.noreply.github.com> | 2024-02-18 01:36:44 +0100 |
---|---|---|
committer | teisuru <31881306+teisuru@users.noreply.github.com> | 2024-02-18 01:36:44 +0100 |
commit | a4832050cdc2aea37c4a292179acdf550883e1da (patch) | |
tree | 42dcc68ef268445f38d90d80f6f946df0821a49a /rules.js | |
parent | a38ce1439d20edf18b0b20529abd15cb8499485f (diff) | |
download | plantagenet-a4832050cdc2aea37c4a292179acdf550883e1da.tar.gz |
fix disembark2
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -11164,10 +11164,15 @@ function goto_disembark() { function end_disembark() { game.who = NOBODY set_active_enemy() - if (game.active === P1) + if (game.active === P1 && has_lords_at_sea()) goto_disembark() - else + else if (game.active === P2 && has_lords_at_sea()) { + goto_disembark() + } + else { + set_active(P1) goto_game_end() + } } function do_disembark() { |