From 5bd0eda4db476f29fd8f29532f2f9135fb9bc295 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 28 May 2024 11:28:03 +0200 Subject: Allow "stop" before moving to flag lord as unmoved. --- play.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'play.js') diff --git a/play.js b/play.js index 82b264b..be86670 100644 --- a/play.js +++ b/play.js @@ -305,6 +305,7 @@ const fate_effect_text = [ const panel_order = [ P_PRUSSIA, P_HANOVER, P_RUSSIA, P_SWEDEN, P_AUSTRIA, P_IMPERIAL, P_FRANCE, P_FRANCE+1 ] const panel_start = { + "Observer": P_PRUSSIA, "Frederick": P_PRUSSIA, "Elisabeth": P_RUSSIA, "Maria Theresa": P_AUSTRIA, @@ -344,7 +345,7 @@ function animate_position(e) { } function sort_power_panel(animate) { - let start = panel_start[params.role] + let start = panel_start[params.role] | 0 if (animate) for (let i = 0; i < 8; ++i) -- cgit v1.2.3