diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2021-01-09 21:46:15 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2021-01-09 21:46:15 +0100 |
| commit | c57d42c1d5ee91faf3f3f1b4742a3f89d1b3fdf6 (patch) | |
| tree | 69c2d926094433bc78a24bb241cce03ff90724ab | |
| parent | ced85356edb4208a2a85d71720c4a2cc91a776d9 (diff) | |
| download | cyberschuessel-c57d42c1d5ee91faf3f3f1b4742a3f89d1b3fdf6.tar.gz cyberschuessel-c57d42c1d5ee91faf3f3f1b4742a3f89d1b3fdf6.zip | |
only consider the current word for the word count of the active player
| -rw-r--r-- | cyberschuessel/templates/index.html | 3 |
1 files changed, 2 insertions, 1 deletions
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': |
