mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-26 17:46:08 -05:00
burgerbugs require burgerfixes
This commit is contained in:
parent
eaf998adf7
commit
21333ee8dc
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,6 @@ class SustainTrail extends FlxSprite
|
||||||
if (s < 0.0) s = 0.0;
|
if (s < 0.0) s = 0.0;
|
||||||
|
|
||||||
if (sustainLength == s) return s;
|
if (sustainLength == s) return s;
|
||||||
graphicHeight = sustainHeight(s, parentStrumline?.scrollSpeed ?? 1.0);
|
|
||||||
this.sustainLength = s;
|
this.sustainLength = s;
|
||||||
triggerRedraw();
|
triggerRedraw();
|
||||||
return this.sustainLength;
|
return this.sustainLength;
|
||||||
|
@ -176,6 +175,7 @@ class SustainTrail extends FlxSprite
|
||||||
|
|
||||||
function triggerRedraw()
|
function triggerRedraw()
|
||||||
{
|
{
|
||||||
|
graphicHeight = sustainHeight(sustainLength, parentStrumline?.scrollSpeed ?? 1.0);
|
||||||
updateClipping();
|
updateClipping();
|
||||||
updateHitbox();
|
updateHitbox();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue