summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
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'
}
}