diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-11-04 20:24:49 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-11-09 00:55:47 +0100 |
commit | 3ae2590247d704f4f8bdcf203dcc046f696209c3 (patch) | |
tree | 9d6e7912e7449e948680961f1a9240451f139ba1 /rules.js | |
parent | bab64f28c6a7d771c0f02ae4b4a4788a2f9569a0 (diff) | |
download | algeria-3ae2590247d704f4f8bdcf203dcc046f696209c3.tar.gz |
Remove unused ops counter.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -3045,8 +3045,6 @@ function goto_operations_phase() { game.passes = 0 delete game.fln_auto_pass delete game.gov_auto_pass - game.fln_ops = 0 - game.gov_ops = 0 // In Algeria, the OAS marker will automatically conduct one Suppression mission in the Operations Phase, at no cost in PSP and no requirement for a Police unit. if (is_area_algerian(game.oas)) { @@ -3077,9 +3075,6 @@ function goto_fln_operations_phase() { game.phasing = FLN_NAME set_active_player() - // XXX backwards compatiblity for ongoing games; replace with game.fln_ops += 1 - game.fln_ops = (game.fln_ops ?? 0) + 1 - // log_h2(`${game.active} Operation ${game.fln_ops}`) clear_combat() if (game.fln_auto_pass) { @@ -4060,9 +4055,6 @@ states.fln_combat_fln_losses = { function goto_gov_operations_phase() { game.phasing = GOV_NAME set_active_player() - // XXX backwards compatiblity for ongoing games; replace with game.gov_ops += 1 - game.gov_ops = (game.gov_ops ?? 0) + 1 - // log_h2(`${game.active} Operation ${game.gov_ops}`) clear_combat() if (game.gov_auto_pass) { @@ -4887,8 +4879,6 @@ function end_operations_phase() { game.passes = 0 delete game.fln_auto_pass delete game.gov_auto_pass - delete game.fln_ops - delete game.gov_ops clear_combat() goto_turn_interphase() } |