diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 20 |
1 files changed, 17 insertions, 3 deletions
@@ -3578,12 +3578,21 @@ states.muster_lord_transport = { if (can_add_transport(game.who, SHIP)) view.actions.take_ship = 1 } - if (can_add_transport(game.who, BOAT)) + let done = true + if (can_add_transport(game.who, BOAT)) { + done = false view.actions.take_boat = 1 - if (can_add_transport(game.who, CART)) + } + if (can_add_transport(game.who, CART)) { + done = false view.actions.take_cart = 1 - if (can_add_transport(game.who, SLED)) + } + if (can_add_transport(game.who, SLED)) { + done = false view.actions.take_sled = 1 + } + if (done) + view.actions.done = 1 }, take_ship() { push_undo() @@ -3609,6 +3618,11 @@ states.muster_lord_transport = { --game.count resume_muster_lord_transport() }, + done() { + push_undo() + game.count = 0 + resume_muster_lord_transport() + }, } function lord_has_capability_card(lord, c) { |