diff --git a/source/PlayState.hx b/source/PlayState.hx index 505d9267e..c460bac90 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -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)