diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-10-26 15:14:48 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-10-26 15:14:48 +0100 |
commit | c2df9cc16c98db5286509e2bf6deef028b111fac (patch) | |
tree | 521016e5e8fedbb6f2385bb4c9558072f540c1fa /play.js | |
parent | 264161f150688577c757835dafbd78645106172c (diff) | |
download | 1989-dawn-of-freedom-c2df9cc16c98db5286509e2bf6deef028b111fac.tar.gz |
New power cards
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" } |