summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-01-06 15:14:15 +0100
committerTor Andersson <tor@ccxvii.net>2025-01-06 15:14:15 +0100
commit839b31a6166d433c66f165cff4201b6cb0e79b71 (patch)
tree354cf76870e86f7507307dc8c9d607b974afae0b /rules.js
parentcecd7a8c88d50505ba67e15a017d0f0ea3b70de8 (diff)
download1989-dawn-of-freedom-839b31a6166d433c66f165cff4201b6cb0e79b71.tar.gz
fix bad indentation
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 3f80460..640fe47 100644
--- a/rules.js
+++ b/rules.js
@@ -4750,9 +4750,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'
}
}