Skip to content

Commit

Permalink
Hotfix calculator timer
Browse files Browse the repository at this point in the history
  • Loading branch information
alegarman2002 committed May 1, 2024
1 parent b34a9c2 commit a34b897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/components/game/Calculator.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Calculator = () => {
const time = setInterval(() => {
setRemTime((progress) => {
if(progress === 100){
setTotalTime(totalTime + (10-progress/10))
setTotalTime(totalTime + (80-progress/10))
gameStore(id, username, points, answeredQuestions, totalTime/answeredQuestions.length);
init();
navigator('/menu')
Expand Down

0 comments on commit a34b897

Please sign in to comment.