Skip to content

Commit

Permalink
Merge pull request #451 from Arquisoft/ediciones
Browse files Browse the repository at this point in the history
arreglos settings
  • Loading branch information
uo283055 authored May 1, 2024
2 parents 9fe50ff + 7273d92 commit ac9174c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions webapp/src/components/GameSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ const GameSettings = ({ setSettings, currentUser }) => {
return;
}
setIsWarningSecsVisible(false);
if (newValue === 60 ) {
if(totalMins === 10) {
return;
}
if(totalMins === 20) {
return;
}
if (newValue === 60 ) {
setTotalSecs(0);
setTotalMins((totalMins) => totalMins + 1);
}else {
Expand Down

0 comments on commit ac9174c

Please sign in to comment.