fixes the chart editor
This commit is contained in:
@@ -50,7 +50,7 @@ class Note extends FlxSprite
|
|||||||
x += 50;
|
x += 50;
|
||||||
// MAKE SURE ITS DEFINITELY OFF SCREEN?
|
// MAKE SURE ITS DEFINITELY OFF SCREEN?
|
||||||
y -= 2000;
|
y -= 2000;
|
||||||
this.strumTime = Math.round(strumTime);
|
this.strumTime = strumTime;
|
||||||
|
|
||||||
if (this.strumTime < 0 )
|
if (this.strumTime < 0 )
|
||||||
this.strumTime = 0;
|
this.strumTime = 0;
|
||||||
|
|||||||
@@ -1475,7 +1475,7 @@ class PlayState extends MusicBeatState
|
|||||||
|
|
||||||
for (songNotes in section.sectionNotes)
|
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)
|
if (daStrumTime < 0)
|
||||||
daStrumTime = 0;
|
daStrumTime = 0;
|
||||||
var daNoteData:Int = Std.int(songNotes[1] % 4);
|
var daNoteData:Int = Std.int(songNotes[1] % 4);
|
||||||
|
|||||||
Reference in New Issue
Block a user