From d9f1ad83080733e0d2b39b6148b6d439bdf25b99 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Fri, 20 Sep 2024 17:53:11 +0100 Subject: Fix Take Power in VM --- rules.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 48af26f..6f1d5e0 100644 --- a/rules.js +++ b/rules.js @@ -1502,7 +1502,9 @@ states.vp_roll = { }, take () { push_undo() - permanently_remove(game.played_card) + //Find name of scoring card + let scoring_card = scoring_cards[countries.indexOf(game.pwr_struggle_in)] + permanently_remove(scoring_card) take_power(game.pwr_struggle_in) game.phase = 2 }, -- cgit v1.2.3