mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-22 23:57:50 -05:00
redundancy is bad!!!!
This commit is contained in:
parent
edfde606a1
commit
e5ee6efdf4
1 changed files with 1 additions and 1 deletions
|
@ -168,6 +168,7 @@ class SustainTrail extends FlxSprite
|
|||
if (s < 0.0) s = 0.0;
|
||||
|
||||
if (sustainLength == s) return s;
|
||||
graphicHeight = sustainHeight(s, parentStrumline?.scrollSpeed ?? 1.0);
|
||||
this.sustainLength = s;
|
||||
triggerRedraw();
|
||||
return this.sustainLength;
|
||||
|
@ -175,7 +176,6 @@ class SustainTrail extends FlxSprite
|
|||
|
||||
function triggerRedraw()
|
||||
{
|
||||
graphicHeight = sustainHeight(sustainLength, parentStrumline?.scrollSpeed ?? 1.0);
|
||||
updateClipping();
|
||||
updateHitbox();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue