From 9948430a508d08286a208e05be0f3f3970188c12 Mon Sep 17 00:00:00 2001 From: uo285427 Date: Thu, 2 May 2024 02:19:11 +0200 Subject: [PATCH] arreglos historial de jugadas --- webapp/src/components/Game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/components/Game.js b/webapp/src/components/Game.js index 762ed670..7d354eb7 100644 --- a/webapp/src/components/Game.js +++ b/webapp/src/components/Game.js @@ -177,7 +177,7 @@ const Game = ({ username, totalQuestions, timeLimit, themes }) => { } }; - if ((timer >= timeLimit || numberClics === totalQuestions - 1)&& !almacenado) { + if ((timer >= timeLimit || numberClics === totalQuestions)&& !almacenado) { (async () => { await addRecord(); await updateRanking();