summaryrefslogtreecommitdiff
path: root/ui.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-07-02 10:28:04 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-17 12:53:17 +0100
commit9a5318d4cdc5a18748e733975d57697d04dcc1ce (patch)
treeea5d49c155f3640032a3b2525c238f83113cd296 /ui.js
parentfc5a07b315414f1c34e702841a70e4621b51fe0a (diff)
downloadhammer-of-the-scots-9a5318d4cdc5a18748e733975d57697d04dcc1ce.tar.gz
Show turn info bar on all block games.
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.js b/ui.js
index f6dd5b0..592de2e 100644
--- a/ui.js
+++ b/ui.js
@@ -721,6 +721,7 @@ function on_update() {
document.getElementById("england_vp").textContent = game.e_vp;
document.getElementById("scotland_vp").textContent = game.s_vp;
+ document.querySelector(".turn_info").textContent = `Turn ${game.turn} of Year ${game.year}`;
update_cards();
update_map();