diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-20 17:53:11 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-20 17:53:11 +0100 |
commit | d9f1ad83080733e0d2b39b6148b6d439bdf25b99 (patch) | |
tree | c7d4782e1074063b7000e617c53312fbdbca6352 | |
parent | 1f4ef604a74b6ded11e5aab8bce5180d2689651b (diff) | |
download | 1989-dawn-of-freedom-d9f1ad83080733e0d2b39b6148b6d439bdf25b99.tar.gz |
Fix Take Power in VM
-rw-r--r-- | rules.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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
},
|