summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-14 16:46:09 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-14 16:46:09 +0000
commitbad1f25da090259aae3d17a6efac9b7035702d9b (patch)
treeb9ac32ec9cb76b45467f9460a10caf859cd3c902 /rules.js
parent0c3b2ee5d5676c506dbb7a4bf256a42672a92f08 (diff)
download1989-dawn-of-freedom-bad1f25da090259aae3d17a6efac9b7035702d9b.tar.gz
Improve logging
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index e9eeda3..487f7c1 100644
--- a/rules.js
+++ b/rules.js
@@ -727,9 +727,9 @@ states.resolve_opponent_event = {
game.vm_event_to_do = false
game.return_state = 'resolve_opponent_event'
game.vm_event = game.played_card
+ log(`Played C${game.played_card} for the event`)
if (is_auto_resolve(game.played_card) || switch_events.includes(game.played_card)) {
game.return = game.active
- log(`Played C${game.played_card} for the event`)
goto_vm(game.vm_event)}
else {
if (game.active === DEM) {