diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-06-17 17:45:20 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:12:42 +0100 |
commit | 71acb4ba7c5e970c9a8fa4d9409c0d6ba57fd75d (patch) | |
tree | 4e96bb33bf85efb6bcf3181498eeb3b31a2b8dd3 | |
parent | 1c6533adb49dcc2a846b99fb12230bbdae37a6dd (diff) | |
download | shores-of-tripoli-71acb4ba7c5e970c9a8fa4d9409c0d6ba57fd75d.tar.gz |
tripoli: Only allow Happy Hunting if here are surviving corsairs.
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2569,7 +2569,7 @@ function can_play_merchant_ship_converted(merchants) { } function can_play_happy_hunting() { - return (game.where == TRIPOLI) && is_not_removed(HAPPY_HUNTING); + return (game.where == TRIPOLI) && (count_tripolitan_corsairs(TRIPOLI) > 0) && is_not_removed(HAPPY_HUNTING); } function can_play_the_guns_of_tripoli() { |