diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-28 11:28:03 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-30 21:59:25 +0200 |
commit | 5bd0eda4db476f29fd8f29532f2f9135fb9bc295 (patch) | |
tree | 27906e950fc96164934e2737803a82b6156a7895 /play.js | |
parent | 7f0bc6422715e637ec3b80f1426b3ae512298f4e (diff) | |
download | friedrich-5bd0eda4db476f29fd8f29532f2f9135fb9bc295.tar.gz |
Allow "stop" before moving to flag lord as unmoved.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |