summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index f4411ec..9d396ec 100644
--- a/play.js
+++ b/play.js
@@ -414,7 +414,7 @@ function on_update() {
e.classList.remove("year_1782")
e.classList.remove("year_1783")
if (view.war_ends)
- e.classList.add("year_" + view.war_ends)
+ e.classList.add("year_" + CARDS[view.war_ends].year)
e = document.getElementById("played_british_reinforcements")
e.classList.remove("ops_1")