mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-02-17 04:11:23 -05:00
fix susnotes after note miss changes oops
This commit is contained in:
parent
7c2cc40d7b
commit
b88ad022f2
1 changed files with 14 additions and 1 deletions
|
@ -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