diff options
author | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-12-04 16:18:07 +0100 |
---|---|---|
committer | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-12-04 16:18:07 +0100 |
commit | d9b77f780cbf075df18490598bff0a6b51a8b750 (patch) | |
tree | c10af9053cc4ef39ca24b1a995860bda2badebe5 /rules.js | |
parent | d1544267c96cb2242230a78c9c992665651b6b2b (diff) | |
download | votes-for-women-d9b77f780cbf075df18490598bff0a6b51a8b750.tar.gz |
popup to confirm card selection
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -881,6 +881,7 @@ states.strategy_phase = { function claim_strategy_card(c) { log(`${game.active} selected C${c}.`) + clear_undo() array_remove_item(game.strategy_draw, c) set_add(player_claimed(), c) if (game.strategy_deck.length) @@ -892,9 +893,9 @@ states.select_strategy_card = { prompt() { view.prompt = "Select Strategy card." for (let c of game.strategy_draw) - gen_action("card", c) + gen_action("card_select", c) }, - card(c) { + card_select(c) { claim_strategy_card(c) if (game.vm) { vm_next() |