mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-03-21 09:29:41 +00:00
fix susnotes after note miss changes oops
This commit is contained in:
parent
7c2cc40d7b
commit
b88ad022f2
|
@ -2299,7 +2299,20 @@ class PlayState extends MusicBeatState
|
|||
// if (PreferencesMenu.getPref('downscroll'))
|
||||
// noteMiss = daNote.y > FlxG.height;
|
||||
|
||||
if (daNote.tooLate || daNote.wasGoodHit)
|
||||
if (daNote.isSustainNote && daNote.wasGoodHit)
|
||||
{
|
||||
if ((!PreferencesMenu.getPref('downscroll') && daNote.y < -daNote.height)
|
||||
|| (PreferencesMenu.getPref('downscroll') && daNote.y > FlxG.height))
|
||||
{
|
||||
daNote.active = false;
|
||||
daNote.visible = false;
|
||||
|
||||
daNote.kill();
|
||||
notes.remove(daNote, true);
|
||||
daNote.destroy();
|
||||
}
|
||||
}
|
||||
else if (daNote.tooLate || daNote.wasGoodHit)
|
||||
{
|
||||
if (daNote.tooLate)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue