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();