diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-15 13:05:18 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-15 13:05:18 +0000 |
commit | 04971bb43cc866cecbcca0ce07d63ea3a3ce3803 (patch) | |
tree | becdfbb1c642a03cbb33e87fd1a69c6fe8b46297 /rules.js | |
parent | 4ea61251d418391a0974c8c7e7c80defe741714e (diff) | |
download | 1989-dawn-of-freedom-04971bb43cc866cecbcca0ce07d63ea3a3ce3803.tar.gz |
Permanently remove securitate after army backs revolution
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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`) |