diff options
author | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-11-21 10:37:49 +0100 |
---|---|---|
committer | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-11-21 10:37:49 +0100 |
commit | 02943b220c1a49ae8a3816814d3c3866df3d2be7 (patch) | |
tree | 98bb69be5dde7b44cac47fcf1f6b6d850157a6ef | |
parent | 29b4abe3c1b6e99bf60bb25cff24b3783968d1ea (diff) | |
download | votes-for-women-02943b220c1a49ae8a3816814d3c3866df3d2be7.tar.gz |
campaigning action
-rw-r--r-- | rules.js | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -1148,7 +1148,10 @@ states.campaigning_assign = { done() { delete game.selected_campaigner delete game.campaigning - end_play_card(game.played_card) + if (game.vm) + vm_next() + else + end_play_card(game.played_card) } } @@ -1778,10 +1781,12 @@ function vm_discard_persistent() { } function vm_campaigning_action() { - // TODO - // ASSERT - log("TODO Campaigning Action") - vm_next() + if (has_player_active_campaigners()) { + log("Campaigning Action") + goto_campaigning(game.played_card) + } else { + vm_next() + } } function vm_todo() { |