summaryrefslogtreecommitdiff
path: root/ui.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-05-02 13:52:05 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:42:59 +0100
commit0603eb7855933f5a8ce8e8df5415526e73f14d7e (patch)
tree2454f694f3cf4191d4b63d3e48c1c00a51a32d79 /ui.js
parentf046c44eb91323e66f8028c96a81cbbdccaf742c (diff)
download300-earth-and-water-0603eb7855933f5a8ce8e8df5415526e73f14d7e.tar.gz
300: even more events
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui.js b/ui.js
index ac3d7e7..1751566 100644
--- a/ui.js
+++ b/ui.js
@@ -302,6 +302,12 @@ function on_update(state, player) {
ui.backs[c].classList.remove('show');
}
+ console.log("show_greek_hand", game.show_greek_hand);
+ if (game.show_greek_hand)
+ document.querySelector(".hand").classList.add("greek");
+ else
+ document.querySelector(".hand").classList.remove("greek");
+
function update_units(index, elements) {
let overflow = [];
let extra = elements.extra;