summaryrefslogtreecommitdiff
path: root/ui.js
diff options
context:
space:
mode:
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;