summaryrefslogtreecommitdiff
path: root/events.txt
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2025-01-04 22:38:41 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2025-01-04 22:38:41 +0000
commit2c76d71e1e3d24d6e0c18499dc72cfa19b887fdd (patch)
tree6daaad25dd6e6b1e639629e3faa7397bd7662444 /events.txt
parent309741557835d4e27db655818b206ae1d114eee0 (diff)
download1989-dawn-of-freedom-2c76d71e1e3d24d6e0c18499dc72cfa19b887fdd.tar.gz
Add end round check for Kiss of Death autoresolve
Diffstat (limited to 'events.txt')
-rw-r--r--events.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/events.txt b/events.txt
index 8fcd170..2b0b830 100644
--- a/events.txt
+++ b/events.txt
@@ -542,7 +542,9 @@ endif
CARD 71 - Kiss of Death*
# The Communist Player must randomly discard a card. If it is neutral or Democratic it takes place immediately.
permanently_remove
-if !is_auto_resolve(C_KISS_OF_DEATH)
+if is_auto_resolve(C_KISS_OF_DEATH)
+log 'Communist has no cards to discard.'
+else
kiss_of_death
endif