summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2025-01-04 18:00:37 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2025-01-04 18:00:37 +0000
commitec9a8dcd11b4a7db34128d7e615e5ed74793d8f3 (patch)
treed19d116a1bc2b3b0ed81d6cfdbbde046f4880587 /rules.js
parentbf78e3c07f66651d6520c81a06e6ec65872817da (diff)
download1989-dawn-of-freedom-ec9a8dcd11b4a7db34128d7e615e5ed74793d8f3.tar.gz
Update Ligachev logging
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index fda67ae..3273d4e 100644
--- a/rules.js
+++ b/rules.js
@@ -704,11 +704,12 @@ states.play_card = {
},
event() {
push_undo()
- check_ligachev_event(game.played_card)
- if (scoring_cards.includes(game.played_card))
+ if (scoring_cards.includes(game.played_card)) {
log_struggle_banner(game.played_card)
- else {
+ check_ligachev_event(game.played_card)
+ } else {
log_event_banner()
+ check_ligachev_event(game.played_card)
log_event(game.played_card)
}
game.vm_infl_to_do = false