From d2ad0f041f085977a8a83ae63dc57e7ebdb9ffda Mon Sep 17 00:00:00 2001 From: ben8 Date: Fri, 18 Apr 2025 14:11:57 +0000 Subject: [PATCH] Edit question_host.html --- django/templates/play/game/question_host.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/templates/play/game/question_host.html b/django/templates/play/game/question_host.html index 82b2a9b..2fa7686 100644 --- a/django/templates/play/game/question_host.html +++ b/django/templates/play/game/question_host.html @@ -56,7 +56,7 @@ const joinCode = '{{ quiz_game.join_code }}'; const hostId = '{{ host_id }}'; const questionStartTime = {{ start_time }}; - var questionDuration = 30000; // 30 seconds in milliseconds + const questionDuration = '{{ current_question.time_per_question }}'*1000; //Zeit pro Frage (indviduell eingestellt) const gameSocket = initializeGameSocket(joinCode); let answeredParticipants = 0; let totalParticipants = 0;