1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-05 06:14:36 +00:00

have notes show up properly on scroll speeds below 1

This commit is contained in:
MtH 2021-03-30 23:32:57 +02:00
parent 5b62681654
commit 01288631ff

View file

@ -1604,16 +1604,13 @@ class PlayState extends MusicBeatState
}
}
if (unspawnNotes[0] != null)
while (unspawnNotes[0] != null &&unspawnNotes[0].strumTime - Conductor.songPosition < 1500 / SONG.speed)
{
if (unspawnNotes[0].strumTime - Conductor.songPosition < 1500)
{
var dunceNote:Note = unspawnNotes[0];
notes.add(dunceNote);
var dunceNote:Note = unspawnNotes[0];
notes.add(dunceNote);
var index:Int = unspawnNotes.indexOf(dunceNote);
unspawnNotes.splice(index, 1);
}
var index:Int = unspawnNotes.indexOf(dunceNote);
unspawnNotes.splice(index, 1);
}
if (generatedMusic)