summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-05-28 15:41:04 +0200
committerTor Andersson <tor@ccxvii.net>2024-05-30 21:59:25 +0200
commit45a09488443ebf4a839a195f2f1edb4406d54fe6 (patch)
tree11959ee22d323da950232cad7dc01abbc5851d97 /play.js
parentd37d90c3efb0bd05f1e921bd7f5186954d8e6a7b (diff)
downloadfriedrich-45a09488443ebf4a839a195f2f1edb4406d54fe6.tar.gz
fix logging for imaginary player
Diffstat (limited to 'play.js')
-rw-r--r--play.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/play.js b/play.js
index dde9f1e..5436ba4 100644
--- a/play.js
+++ b/play.js
@@ -67,8 +67,8 @@ for (let s of data.type.objective1_imperial) set_add(objective1[P_IMPERIAL], s)
for (let s of data.type.objective2_imperial) set_add(objective2[P_IMPERIAL], s)
for (let s of data.type.objective_france) set_add(objective1[P_FRANCE], s)
-const power_class = [ "prussia", "hanover", "russia", "sweden", "austria", "imperial", "france" ]
-const power_name = [ "Prussia", "Hanover", "Russia", "Sweden", "Austria", "Imperial Army", "France" ]
+const power_class = [ "prussia", "hanover", "russia", "sweden", "austria", "imperial", "france", "imaginary" ]
+const power_name = [ "Prussia", "Hanover", "Russia", "Sweden", "Austria", "Imperial Army", "France", "Imaginary" ]
const GENERAL_POWER = [ 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 2, 2, 3, 4, 4, 4, 4, 4, 5, 6, 6, 6 ]