From 6c52bbb9e39c111dee0c1d5f845876496c54c42f Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 26 Oct 2024 20:25:29 +0200 Subject: fix turn display and end_supply --- play.js | 4 ++-- rules.js | 10 ---------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/play.js b/play.js index 0083dfd..c76d8c6 100644 --- a/play.js +++ b/play.js @@ -987,8 +987,8 @@ function layout_combat_marker() { function layout_turn_marker() { if (view.turn > 0) { let t = view.turn - 1 - let row = (t / 3) | 0 - let col = (t % 3) + let row = (t / 4) | 0 + let col = (t % 4) let x = 2267 + col * 45 let y = 79 + row * 52 ui.turn.style.left = x - 16 + "px" diff --git a/rules.js b/rules.js index f5afb73..34d82c8 100644 --- a/rules.js +++ b/rules.js @@ -1858,16 +1858,6 @@ states.supply_done = { function end_supply() { delete game.supply - - // NOTE: Austria tactical card and supply steps after pragmatic - if (game.power === P_AUSTRIA) { - set_active_to_power(P_PRAGMATIC) - goto_tactical_cards() - return - } - if (game.power === P_PRAGMATIC) - set_active_to_power(P_AUSTRIA) - next_sequence_of_play() } -- cgit v1.2.3