summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/rules.ts b/rules.ts
index 29c8867..e043307 100644
--- a/rules.ts
+++ b/rules.ts
@@ -1904,9 +1904,11 @@ states.player_turn = {
resolve_spend_hp();
},
end_turn() {
- game.faction_turn = null;
- game.played_card = null;
- game.selected_cards[get_active_faction()] = [];
+ if (game.faction_turn === get_active_faction()) {
+ game.faction_turn = null;
+ game.played_card = null;
+ game.selected_cards[get_active_faction()] = [];
+ }
resolve_active_and_proceed(true);
},
play_to_tableau() {