From fa73f2edd6c803656c22595b919fa278a5e8387e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 20 Mar 2022 22:55:12 +0100 Subject: Remove debugging code. --- rules.js | 7 ------- 1 file changed, 7 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 013f4d4..18a35fb 100644 --- a/rules.js +++ b/rules.js @@ -1998,7 +1998,6 @@ function start_action_phase() { } function end_season() { - if (game.british.hand.length > 0) game.british.held = 1; else @@ -2043,12 +2042,6 @@ function end_action_phase() { clear_undo(); game.count = 0; - // TODO: should not be needed! (but we may have forgotten some place where it should happen) - for (let p = first_friendly_leader; p <= last_friendly_leader; ++p) { - if (count_pieces_in_force(p) > 1) - console.log("FORGOT TO UNSTACK", piece_name(p)); - } - if (!enemy_player.passed && enemy_player.hand.length > 0) { console.log("END ACTION PHASE - NEXT PLAYER"); set_active_enemy(); -- cgit v1.2.3