Skip to content

Commit

Permalink
fixed combo bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Althoumb committed Apr 3, 2018
1 parent c8f9ea5 commit 6755f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/RhythmState.java
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@ public void click() {
if (Math.abs(hitobject.duration) <= LENIENCE_TIME) {
points++; // increments points
perfection += 1.0 - Math.abs(hitobject.duration) / LENIENCE_TIME;
combo++; // increases combo
}
combo++; // increases combo
break; // breaks out of loop so that only one hit object is clicked at
// once
}
Expand Down

0 comments on commit 6755f3a

Please sign in to comment.