diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-12-27 16:25:57 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-12-27 16:25:57 +0000 |
commit | 622742ae4ed14c7d523f06e467997d6918581dea (patch) | |
tree | 26d8f3eba5868b8f59e02c080aecb3e948e78fd7 | |
parent | 8b38dbef827b7b42f54f118554ab8e83ab639b4e (diff) | |
download | 1989-dawn-of-freedom-622742ae4ed14c7d523f06e467997d6918581dea.tar.gz |
Update to support loss and scoring log
-rw-r--r-- | rules.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1643,7 +1643,10 @@ states.support_loss = { remove_infl(space, 'available_ops') }, done() { - do_log_summary() + if (game.summary.length > 0) + do_log_summary() + else + logi('None') change_player() log_h5('Victory Point') game.phase = 0 @@ -1699,7 +1702,6 @@ states.vp_roll = { }, scoring() { push_undo() - log_h2('Scoring') score_country(game.pwr_struggle_in) resolve_tyrant() }, @@ -4311,7 +4313,6 @@ function check_tyrant() { function check_tyrant_sc() { if (game.the_tyrant_is_gone > 0 && check_dem_control(game.the_tyrant_is_gone)) { logi('+2 VP from C' + C_THE_TYRANT_IS_GONE + '.') - console.log('game.summary',game.summary) game.vp += 2 if (check_vp()) { return @@ -4521,7 +4522,6 @@ function pop_summary_i() { } */ function pop_summary_i() { - console.log('pop summary', game.summary) if (game.summary.length > 0) { // Create a map to group by space and track totals and details let grouped_summary = new Map(); |