burgerbugs require burgerfixes

This commit is contained in:
Burgerballs 2024-05-15 17:26:03 +01:00
parent eaf998adf7
commit 21333ee8dc

View file

@ -168,7 +168,6 @@ 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;
@ -176,6 +175,7 @@ class SustainTrail extends FlxSprite
function triggerRedraw()
{
graphicHeight = sustainHeight(sustainLength, parentStrumline?.scrollSpeed ?? 1.0);
updateClipping();
updateHitbox();
}