1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-27 07:27:12 +00:00

Merge pull request #2309 from ImCodist/bugfix/sustain-flicker

Fixed an issue where hold note would be invisible for a single frame.
This commit is contained in:
Eric 2024-05-08 02:25:16 -04:00 committed by GitHub
commit fcb1d8eda3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -576,6 +576,8 @@ class Strumline extends FlxSpriteGroup
note.holdNoteSprite.hitNote = true;
note.holdNoteSprite.missedNote = false;
note.holdNoteSprite.alpha = 1.0;
note.holdNoteSprite.sustainLength = (note.holdNoteSprite.strumTime + note.holdNoteSprite.fullSustainLength) - conductorInUse.songPosition;
}
}