summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-10-26 15:14:48 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-10-26 15:14:48 +0100
commitc2df9cc16c98db5286509e2bf6deef028b111fac (patch)
tree521016e5e8fedbb6f2385bb4c9558072f540c1fa /play.js
parent264161f150688577c757835dafbd78645106172c (diff)
download1989-dawn-of-freedom-c2df9cc16c98db5286509e2bf6deef028b111fac.tar.gz
New power cards
Diffstat (limited to 'play.js')
-rw-r--r--play.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/play.js b/play.js
index dc2c592..03f58f5 100644
--- a/play.js
+++ b/play.js
@@ -20,7 +20,7 @@ function on_click_action(evt) {
const last_space = 74
const last_card = 110
-const last_power_card = 52
+const last_power_card = 54
const countries = [ "Poland", "Hungary", "East_Germany", "Bulgaria", "Czechoslovakia", "Romania" ]
const board_events = [ 2, 9, 69, 97 ]
@@ -273,9 +273,9 @@ function layout_country(id) {
for (let i = 0; i < 6; i++) {
// TODO: what number to display?
if (view.revolutions[id])
- ui.countries[id].className = "marker comInfl ctl v" + view.times_held[id]
- else if (view.times_held[id] > 0)
ui.countries[id].className = "marker demInfl ctl v" + view.times_held[id]
+ else if (view.times_held[id] > 0)
+ ui.countries[id].className = "marker comInfl ctl v" + view.times_held[id]
else
ui.countries[id].className = "marker hide"
}