mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-01-14 16:47:46 +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:
commit
fcb1d8eda3
|
@ -576,6 +576,8 @@ class Strumline extends FlxSpriteGroup
|
||||||
note.holdNoteSprite.hitNote = true;
|
note.holdNoteSprite.hitNote = true;
|
||||||
note.holdNoteSprite.missedNote = false;
|
note.holdNoteSprite.missedNote = false;
|
||||||
note.holdNoteSprite.alpha = 1.0;
|
note.holdNoteSprite.alpha = 1.0;
|
||||||
|
|
||||||
|
note.holdNoteSprite.sustainLength = (note.holdNoteSprite.strumTime + note.holdNoteSprite.fullSustainLength) - conductorInUse.songPosition;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue