aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cyberschuessel/templates/index.html3
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':