diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-05-02 13:52:05 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:42:59 +0100 |
commit | 0603eb7855933f5a8ce8e8df5415526e73f14d7e (patch) | |
tree | 2454f694f3cf4191d4b63d3e48c1c00a51a32d79 /ui.js | |
parent | f046c44eb91323e66f8028c96a81cbbdccaf742c (diff) | |
download | 300-earth-and-water-0603eb7855933f5a8ce8e8df5415526e73f14d7e.tar.gz |
300: even more events
Diffstat (limited to 'ui.js')
-rw-r--r-- | ui.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |