summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 0f83bac..0c677d8 100644
--- a/rules.js
+++ b/rules.js
@@ -4586,7 +4586,9 @@ function vm_adamec() {
}
function vm_army_backs_revolution() {
- game.persistent_events = game.persistent_events.filter(n => n !== C_SECURITATE)
+ if (game.persistent_events.includes(C_SECURITATE)) {
+ permanently_remove(C_SECURITATE)
+ }
game.playable_cards = game.playable_cards.filter(n => n !== C_SECURITATE)
add_to_persistent_events(C_ARMY_BACKS_REVOLUTION)
logi(`C${C_SECURITATE} no longer has any effect`)