From df1073cb77a9c115c28bb427ea171465850d54bc Mon Sep 17 00:00:00 2001 From: s-ballw Date: Tue, 3 Apr 2018 15:26:11 -0700 Subject: [PATCH] made hitobjects more accurate --- src/game/RhythmState.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/game/RhythmState.java b/src/game/RhythmState.java index 9556a08..67ee410 100644 --- a/src/game/RhythmState.java +++ b/src/game/RhythmState.java @@ -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++; }