From fcc6ae72a5ed436cc5a5f3902172af5888212d29 Mon Sep 17 00:00:00 2001 From: Kade M Date: Sun, 20 Jun 2021 18:03:37 -0700 Subject: [PATCH] fixes the chart editor --- source/Note.hx | 2 +- source/PlayState.hx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Note.hx b/source/Note.hx index f7f915e..1eb3977 100644 --- a/source/Note.hx +++ b/source/Note.hx @@ -50,7 +50,7 @@ class Note extends FlxSprite x += 50; // MAKE SURE ITS DEFINITELY OFF SCREEN? y -= 2000; - this.strumTime = Math.round(strumTime); + this.strumTime = strumTime; if (this.strumTime < 0 ) this.strumTime = 0; diff --git a/source/PlayState.hx b/source/PlayState.hx index 594577a..eea9212 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -1475,7 +1475,7 @@ class PlayState extends MusicBeatState for (songNotes in section.sectionNotes) { - var daStrumTime:Float = songNotes[0] + FlxG.save.data.offset + songOffset; + var daStrumTime:Float = Math.round(songNotes[0]) + FlxG.save.data.offset + songOffset; if (daStrumTime < 0) daStrumTime = 0; var daNoteData:Int = Std.int(songNotes[1] % 4);