Skip to content

Commit

Permalink
clapping fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
FANMixco committed Mar 24, 2019
1 parent b8f39d2 commit 8ddd142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/timer.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function timer(seconds) { //counts time, takes seconds
startVibrate();
lastColor = "red";
}
if (counter >= maximum + 30) {
if (counter >= maximum + clappingTime) {
if (!clappingStarted)
startClapping();
clappingStarted = true;
Expand Down

0 comments on commit 8ddd142

Please sign in to comment.