summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2025-01-06 14:50:02 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2025-01-06 14:50:02 +0000
commit394bc9df08aa2e58fb6af9b22bd2f1d1e92f2ba2 (patch)
treeae693cc97ca41f0cf3a78c2fef8fa53847c09fb6 /rules.js
parent403fbc735608e09ee1e753b641f1d2fa7065ad69 (diff)
parent839b31a6166d433c66f165cff4201b6cb0e79b71 (diff)
download1989-dawn-of-freedom-394bc9df08aa2e58fb6af9b22bd2f1d1e92f2ba2.tar.gz
Merge branch 'main' of https://github.com/iainp5/1989-Dawn-of-Freedom
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index da357d6..8990e3c 100644
--- a/rules.js
+++ b/rules.js
@@ -4751,9 +4751,9 @@ function vm_return() {
else if ((is_auto_resolve(game.played_card) && game.played_card !== C_KISS_OF_DEATH ) &&
((cards[game.played_card].side === 'C' && game.active === DEM) ||
(cards[game.played_card].side === 'D' && game.active === COM))
- ) {
- vm_end_event()
- } else {
+ ) {
+ vm_end_event()
+ } else {
game.state = 'vm_end_event'
}
}