From c57d42c1d5ee91faf3f3f1b4742a3f89d1b3fdf6 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 9 Jan 2021 21:46:15 +0100 Subject: only consider the current word for the word count of the active player --- cyberschuessel/templates/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cyberschuessel/templates/index.html b/cyberschuessel/templates/index.html index eeaa1d9..1467971 100644 --- a/cyberschuessel/templates/index.html +++ b/cyberschuessel/templates/index.html @@ -167,7 +167,7 @@ case 'drawn': // -1 because some one has a word in hand - set_words_in_schuessel(data.words - 1); + set_words_in_schuessel(data.words); set_words_drawn(data.drawn); set_phase(data.phase); @@ -181,6 +181,7 @@ case 'draw': set_drawn_word(data.drawn_word); + change_words_in_schuessel(-1); break; case 'add': -- cgit v1.2.3