Skip to content

Commit

Permalink
made hitobjects more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
Althoumb committed Apr 3, 2018
1 parent db1fd8d commit df1073c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/game/RhythmState.java
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,7 @@ public void update(GameContainer gc, StateBasedGame sbg, int delta)
&& beatmap.get(beatmapindex).time <= CIRCLE_TIME + songtime) {
Beat currentbeat = beatmap.get(beatmapindex);
HitObject hitobject = new HitObject(currentbeat.x, currentbeat.y,
maxRadius,
CIRCLE_TIME, false);
maxRadius, beatmap.get(beatmapindex).time - songtime, false);
hitobjects.add(hitobject);
beatmapindex++;
}
Expand Down

0 comments on commit df1073c

Please sign in to comment.