Merge branch 'nitpix' of github.com:ninjamuffin99/Funkin-secret

This commit is contained in:
MtH 2021-03-31 14:43:43 +02:00
commit c6cc9a73de

View file

@ -1620,9 +1620,7 @@ 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]; var dunceNote:Note = unspawnNotes[0];
notes.add(dunceNote); notes.add(dunceNote);
@ -1630,7 +1628,6 @@ class PlayState extends MusicBeatState
var index:Int = unspawnNotes.indexOf(dunceNote); var index:Int = unspawnNotes.indexOf(dunceNote);
unspawnNotes.splice(index, 1); unspawnNotes.splice(index, 1);
} }
}
if (generatedMusic) if (generatedMusic)
{ {