From 04971bb43cc866cecbcca0ce07d63ea3a3ce3803 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Fri, 15 Nov 2024 13:05:18 +0000 Subject: Permanently remove securitate after army backs revolution --- rules.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rules.js') 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`) -- cgit v1.2.3