mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 01:55:52 -05: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
1 changed files with 2 additions and 0 deletions
|
@ -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