summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-05-10 01:11:54 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-24 21:06:18 +0200
commit8172cce6a50d4c3a5ef79a8d3ea135b968b475f4 (patch)
tree6ea71502742839301a92d7278479b68212773749 /rules.js
parent67606c621d421cd2a5781928d94f3568cca78268 (diff)
downloadred-flag-over-paris-8172cce6a50d4c3a5ef79a8d3ea135b968b475f4.tar.gz
Final Crisis Round logging.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 0a3e661..0aba9ad 100644
--- a/rules.js
+++ b/rules.js
@@ -1957,7 +1957,6 @@ states.final_crisis_discard = {
function goto_final_crisis_events() {
clear_undo()
- log_h2(game.active)
game.state = "final_crisis_events"
}
@@ -1980,6 +1979,7 @@ states.final_crisis_events = {
},
card(c) {
game.final_active = game.active
+ log_h2(game.active)
discard_card(c)
if (game.active === VERSAILLES && is_commune_card(c)) {
game.what = c
@@ -1992,6 +1992,7 @@ states.final_crisis_events = {
game.state = "final_crisis_opponent_event"
}
else {
+ log("Played C" + c + ".")
goto_play_event(c)
}
},
@@ -2006,6 +2007,7 @@ states.final_crisis_opponent_event = {
view.actions.pass = 1
},
event() {
+ log("Played C" + c + ".")
goto_play_event(game.what)
},
pass() {