diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-03-20 22:55:12 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 11:54:52 +0100 |
commit | fa73f2edd6c803656c22595b919fa278a5e8387e (patch) | |
tree | 30d86ddf28f43af3c0da1ef54fee0ff0772d3679 /rules.js | |
parent | 2f226e47deea5242687cfc332ba03aea0e56057d (diff) | |
download | wilderness-war-fa73f2edd6c803656c22595b919fa278a5e8387e.tar.gz |
Remove debugging code.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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(); |