From b03936419c38da419cc1c9edf261dc872b18d92c Mon Sep 17 00:00:00 2001 From: iainp5 Date: Mon, 6 Jan 2025 15:35:48 +0000 Subject: Remove log_summary functions --- rules.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 11d2211..58548fe 100644 --- a/rules.js +++ b/rules.js @@ -2266,12 +2266,12 @@ function add_infl(space, ops) { check_com_control(space) ) { game[ops]-- - log_summary(`(-1 Op due to C${C_GENSCHER})`) + log(`(-1 Op due to C${C_GENSCHER})`) } else if (check_opp_control(space)) { game[ops] -= 2 // Check if Austria Hungary Border Reopened was used to place last SP in a controlled space in East Germany. If so, game.available_op will be negative if (game[ops] < 0) { - log_summary(`(Used +1 Op C${C_AUSTRIA_HUNGARY_BORDER_REOPENED})`) + log(`(Used +1 Op C${C_AUSTRIA_HUNGARY_BORDER_REOPENED})`) } } else { game[ops]-- @@ -4045,7 +4045,7 @@ function new_turn() { function end_one_turn_event(event) { game.persistent_events = game.persistent_events.filter(n => n !== event) game.strategy_removed.push(event) - log_summary(`C${event}`) + log(`C${event}`) } function change_player() { @@ -4232,7 +4232,7 @@ function check_ceausescu() { function check_tyrant() { if (game.the_tyrant_is_gone > 0 && check_dem_control(game.the_tyrant_is_gone)) { - log_summary('+2 VP C' + C_THE_TYRANT_IS_GONE + '.') + log('+2 VP C' + C_THE_TYRANT_IS_GONE + '.') game.vp += 2 if (check_vp()) { do_log_summary() -- cgit v1.2.3