diff --git a/django/templates/play/game/question_host.html b/django/templates/play/game/question_host.html index 6ebba13..ae4f894 100644 --- a/django/templates/play/game/question_host.html +++ b/django/templates/play/game/question_host.html @@ -9,7 +9,7 @@ Spiel verlassen {% endif %} -
Frage
{{ question_index|add:1 }}
@@ -30,7 +30,7 @@{{ total_questions }}
{{ option.value }}
@@ -77,7 +77,7 @@ let hasAnswered = false; const joinCode = '{{ quiz_game.join_code }}'; const participantId = '{{ participant.participant_id }}'; - const questionStartTime = {{ start_time }}; + const questionStartTime = Date.now(); const questionDuration = '{{ current_question.time_per_question }}'*1000; //Zeit pro Frage (indviduell eingestellt) const gameSocket = initializeGameSocket(joinCode); diff --git a/django/templates/play/game/score_overview.html b/django/templates/play/game/score_overview.html index 71664fb..db054d7 100644 --- a/django/templates/play/game/score_overview.html +++ b/django/templates/play/game/score_overview.html @@ -11,7 +11,7 @@