summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js3
1 files changed, 2 insertions, 1 deletions
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)